Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7595/0.7595, allocations: 128.7 MB / 143.7 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 170.3 kB / 173.7 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009272/0.0009271, allocations: 87.92 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 9.219 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.799/4.961, allocations: 2.135 GB / 2.77 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/4.961, allocations: 90.78 kB / 2.77 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7267/5.688, allocations: 214.6 MB / 2.98 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.343e-06/5.688, allocations: 0 / 2.98 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.662e-05/5.688, allocations: 3.312 kB / 2.98 GB, free: 176.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001653/5.69, allocations: 0.6235 MB / 2.98 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/5.69, allocations: 6.75 kB / 2.98 GB, free: 176.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/5.69, allocations: 50.94 kB / 2.98 GB, free: 176.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/5.69, allocations: 52.22 kB / 2.981 GB, free: 176.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/5.69, allocations: 272.6 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/5.69, allocations: 17.89 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/5.69, allocations: 21.97 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/5.691, allocations: 229.1 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/5.691, allocations: 3.875 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/5.691, allocations: 6.25 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/5.691, allocations: 20.3 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/5.692, allocations: 252.5 kB / 2.981 GB, free: 175.9 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/5.693, allocations: 0.8275 MB / 2.982 GB, free: 175.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/5.693, allocations: 175.5 kB / 2.982 GB, free: 175.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/5.693, allocations: 183.4 kB / 2.982 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/5.693, allocations: 37.05 kB / 2.982 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/5.693, allocations: 2.625 kB / 2.982 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0008167/5.694, allocations: 304.4 kB / 2.983 GB, free: 175.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/5.694, allocations: 51.41 kB / 2.983 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/5.694, allocations: 211.4 kB / 2.983 GB, free: 175 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/5.694, allocations: 29.52 kB / 2.983 GB, free: 175 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/5.695, allocations: 145.4 kB / 2.983 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/5.695, allocations: 41.5 kB / 2.983 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/5.695, allocations: 3.125 kB / 2.983 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/5.695, allocations: 333.1 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/5.695, allocations: 75.95 kB / 2.984 GB, free: 174.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/5.695, allocations: 106.1 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/5.695, allocations: 82.8 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.695, allocations: 0 / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000426/5.696, allocations: 220 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/5.696, allocations: 6.484 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/5.696, allocations: 3.625 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/5.696, allocations: 0 / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/5.696, allocations: 30.7 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/5.696, allocations: 0 / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/5.696, allocations: 38.53 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/5.696, allocations: 5.938 kB / 2.984 GB, free: 174.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/5.696, allocations: 141.5 kB / 2.984 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/5.696, allocations: 19.88 kB / 2.984 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/5.696, allocations: 34.44 kB / 2.984 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/5.696, allocations: 5.594 kB / 2.984 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/5.696, allocations: 2.953 kB / 2.984 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/5.696, allocations: 0 / 2.984 GB, free: 174.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009052/5.697, allocations: 0.6675 MB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/5.697, allocations: 0 / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/5.698, allocations: 35.5 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/5.698, allocations: 3.625 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/5.698, allocations: 11.09 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/5.698, allocations: 3.844 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.698, allocations: 3.938 kB / 2.985 GB, free: 174 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/5.698, allocations: 417.3 kB / 2.985 GB, free: 173.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/5.698, allocations: 105.9 kB / 2.985 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/5.698, allocations: 6.438 kB / 2.985 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/5.698, allocations: 14.84 kB / 2.986 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/5.698, allocations: 12.91 kB / 2.986 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/5.698, allocations: 6.562 kB / 2.986 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001399/5.699, allocations: 176.6 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/5.699, allocations: 2.906 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006371/5.699, allocations: 135.5 kB / 2.986 GB, free: 173.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/5.701, allocations: 2.149 MB / 2.988 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004086/5.702, allocations: 176 kB / 2.988 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/5.702, allocations: 3.938 kB / 2.988 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/5.702, allocations: 101.9 kB / 2.988 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/5.702, allocations: 114.5 kB / 2.988 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/5.704, allocations: 1.486 MB / 2.99 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/5.705, allocations: 0.754 MB / 2.99 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002414/5.705, allocations: 64.03 kB / 2.991 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/5.705, allocations: 67.59 kB / 2.991 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/5.705, allocations: 0 / 2.991 GB, free: 170.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/5.742, allocations: 20.16 MB / 3.01 GB, free: 170 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/5.742, allocations: 235.4 kB / 3.011 GB, free: 169.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/8.01, allocations: 0 / 3.011 GB, free: 169.8 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)