Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 15.88 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7085/0.7089, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1622/0.8712, allocations: 146.7 MB / 1.124 GB, free: 3.148 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.8744, allocations: 1.662 MB / 1.126 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.8747, allocations: 11.94 kB / 1.126 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004774/0.8752, allocations: 107.2 kB / 1.126 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.8762, allocations: 392.5 kB / 1.127 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.8771, allocations: 334.2 kB / 1.127 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002868/0.88, allocations: 2.978 MB / 1.13 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009452/0.8809, allocations: 0.6876 MB / 1.13 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.8824, allocations: 0.8637 MB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.8832, allocations: 0.7118 MB / 1.132 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.8833, allocations: 32 kB / 1.132 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.8844, allocations: 0.5574 MB / 1.133 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.8847, allocations: 278.9 kB / 1.133 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.8849, allocations: 229.1 kB / 1.133 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.886, allocations: 1.025 MB / 1.134 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.886, allocations: 0 / 1.134 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.605e-06/0.886, allocations: 0 / 1.134 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.886, allocations: 4 kB / 1.134 GB, free: 9.277 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001964/0.888, allocations: 1.299 MB / 1.135 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.888, allocations: 8.031 kB / 1.135 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.8881, allocations: 102.4 kB / 1.135 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/0.8888, allocations: 186.4 kB / 1.136 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.8901, allocations: 0.7963 MB / 1.136 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.8902, allocations: 45 kB / 1.136 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.8903, allocations: 56 kB / 1.136 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.8914, allocations: 0.7966 MB / 1.137 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.8914, allocations: 3.938 kB / 1.137 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.8915, allocations: 24 kB / 1.137 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.8915, allocations: 15.95 kB / 1.137 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.8924, allocations: 0.5423 MB / 1.138 GB, free: 5.207 MB / 0.8887 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.003717/0.8961, allocations: 4.603 MB / 1.142 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.8968, allocations: 430.2 kB / 1.143 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003769/0.8972, allocations: 254.4 kB / 1.143 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.8975, allocations: 194.2 kB / 1.143 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004905/0.898, allocations: 297.6 kB / 1.143 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/0.898, allocations: 0 / 1.143 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001374/0.8994, allocations: 0.6491 MB / 1.144 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.8995, allocations: 81.11 kB / 1.144 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.9008, allocations: 1.114 MB / 1.145 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.9009, allocations: 37.7 kB / 1.145 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.9013, allocations: 0.4883 MB / 1.146 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.133e-05/0.9014, allocations: 106.5 kB / 1.146 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.9014, allocations: 4 kB / 1.146 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.9015, allocations: 330 kB / 1.146 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.9019, allocations: 184.7 kB / 1.146 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.9025, allocations: 0.5057 MB / 1.147 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.9029, allocations: 294.4 kB / 1.147 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.9029, allocations: 3.953 kB / 1.147 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001119/0.904, allocations: 0.6814 MB / 1.148 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.9042, allocations: 267.1 kB / 1.148 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9043, allocations: 12 kB / 1.148 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.9043, allocations: 8 kB / 1.148 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.9047, allocations: 107.8 kB / 1.148 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.9047, allocations: 15.92 kB / 1.148 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.9054, allocations: 107.4 kB / 1.148 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.348e-05/0.9054, allocations: 31.94 kB / 1.148 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.062e-06/0.9055, allocations: 4 kB / 1.148 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008621/0.9063, allocations: 0.5401 MB / 1.149 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9063, allocations: 4 kB / 1.149 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.9064, allocations: 8 kB / 1.149 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.9067, allocations: 104.3 kB / 1.149 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.9067, allocations: 15.94 kB / 1.149 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.9073, allocations: 99.45 kB / 1.149 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.9073, allocations: 24 kB / 1.149 GB, free: 8.906 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * 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.0004876/0.9078, allocations: 476.5 kB / 1.15 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.9079, allocations: 98.73 kB / 1.15 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008645/0.9088, allocations: 0.499 MB / 1.15 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.9088, allocations: 4 kB / 1.15 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9088, allocations: 3.938 kB / 1.15 GB, free: 7.816 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.9088, allocations: 3.938 kB / 1.15 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.9108, allocations: 1.396 MB / 1.152 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.9108, allocations: 8 kB / 1.152 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.911, allocations: 63.89 kB / 1.152 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.9111, allocations: 4 kB / 1.152 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.9111, allocations: 11.98 kB / 1.152 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9111, allocations: 4 kB / 1.152 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9111, allocations: 0 / 1.152 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.9119, allocations: 0.6156 MB / 1.152 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.9122, allocations: 219.8 kB / 1.152 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.9123, allocations: 11.98 kB / 1.152 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.9127, allocations: 55.8 kB / 1.152 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.9128, allocations: 35.84 kB / 1.153 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.9128, allocations: 16 kB / 1.153 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008975/0.9137, allocations: 0.7836 MB / 1.153 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9137, allocations: 4 kB / 1.153 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001018/0.9148, allocations: 411.4 kB / 1.154 GB, free: 4.047 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001377/0.9161, allocations: 1.217 MB / 1.155 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.9174, allocations: 0.7945 MB / 1.156 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9174, allocations: 1.375 kB / 1.156 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.9178, allocations: 216.1 kB / 1.156 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/0.9196, allocations: 463.4 kB / 1.156 GB, free: 1.309 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.9297, allocations: 6.235 MB / 1.162 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.9304, allocations: 1.181 MB / 1.164 GB, free: 9.566 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001097/0.9315, allocations: 427.5 kB / 1.164 GB, free: 9.145 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.932, allocations: 323.3 kB / 1.164 GB, free: 8.828 MB / 0.92 GB Notification: Performance of SimCode: time 8.12e-07/0.932, allocations: 0 / 1.164 GB, free: 8.828 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04121/0.9732, allocations: 25.54 MB / 1.189 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.9735, allocations: 256.9 kB / 1.189 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.324, allocations: 0 / 1.189 GB, free: 15.36 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat does not exist to compare? outputFormat=mat