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.00117/0.00117, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00129/0.00129, allocations: 177.3 kB / 15.94 MB, free: 228 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.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.34/2.34, allocations: 409.2 MB / 0.6838 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004199, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.501, allocations: 146.8 MB / 0.9809 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.118/0.6191, allocations: 135.7 MB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.6212, allocations: 1.683 MB / 1.115 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.6213, allocations: 11.94 kB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.6218, allocations: 183.2 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.6226, allocations: 0.4985 MB / 1.116 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007944/0.6234, allocations: 417 kB / 1.116 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.625, allocations: 1.485 MB / 1.118 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006974/0.6257, allocations: 0.6994 MB / 1.118 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007301/0.6264, allocations: 0.7046 MB / 1.119 GB, free: 8.645 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.6269, allocations: 481.9 kB / 1.119 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.36e-05/0.6269, allocations: 36 kB / 1.119 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006135/0.6275, allocations: 415.4 kB / 1.12 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.6278, allocations: 259.1 kB / 1.12 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.6279, allocations: 229.1 kB / 1.12 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.6287, allocations: 0.9743 MB / 1.121 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.6287, allocations: 4 kB / 1.121 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6287, allocations: 0 / 1.121 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.6287, allocations: 0 / 1.121 GB, free: 6.266 MB / 0.8731 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.001698/0.6304, allocations: 1.288 MB / 1.122 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.6305, allocations: 8.031 kB / 1.123 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.978e-05/0.6306, allocations: 94.47 kB / 1.123 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006173/0.6312, allocations: 186.4 kB / 1.123 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.6324, allocations: 0.7924 MB / 1.124 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.6325, allocations: 45 kB / 1.124 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.6326, allocations: 56 kB / 1.124 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009263/0.6335, allocations: 0.7966 MB / 1.124 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6335, allocations: 3.938 kB / 1.124 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.6336, allocations: 24 kB / 1.124 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.6336, allocations: 15.95 kB / 1.124 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000783/0.6344, allocations: 0.5462 MB / 1.125 GB, free: 2.215 MB / 0.8731 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.003193/0.6376, allocations: 4.591 MB / 1.129 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.6382, allocations: 446.3 kB / 1.13 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.6382, allocations: 7.953 kB / 1.13 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.6387, allocations: 306.2 kB / 1.13 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.422e-06/0.6387, allocations: 0 / 1.13 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.00111/0.6398, allocations: 0.6542 MB / 1.131 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.6398, allocations: 110.8 kB / 1.131 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6409, allocations: 1.11 MB / 1.132 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.641, allocations: 37.7 kB / 1.132 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.6413, allocations: 0.4883 MB / 1.133 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.6414, allocations: 106.5 kB / 1.133 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.6414, allocations: 8 kB / 1.133 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.6415, allocations: 330 kB / 1.133 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.6418, allocations: 180.7 kB / 1.133 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.6423, allocations: 0.4979 MB / 1.134 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.6426, allocations: 290.3 kB / 1.134 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6427, allocations: 7.938 kB / 1.134 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009055/0.6436, allocations: 0.6771 MB / 1.135 GB, free: 7.766 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005925/0.6442, allocations: 2.133 MB / 1.137 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6442, allocations: 4 kB / 1.137 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6442, allocations: 8 kB / 1.137 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.6446, allocations: 115.8 kB / 1.137 GB, free: 5.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.6446, allocations: 11.94 kB / 1.137 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.6452, allocations: 107.3 kB / 1.137 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.6452, allocations: 24 kB / 1.137 GB, free: 5.199 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.6452, allocations: 7.953 kB / 1.137 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007639/0.646, allocations: 0.5463 MB / 1.137 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.646, allocations: 4 kB / 1.137 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.313e-06/0.646, allocations: 8 kB / 1.137 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.6464, allocations: 107.8 kB / 1.138 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6464, allocations: 16.03 kB / 1.138 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.6469, allocations: 99.62 kB / 1.138 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.647, allocations: 27.98 kB / 1.138 GB, free: 4.383 MB / 0.8887 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.0003759/0.6474, allocations: 472.7 kB / 1.138 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/0.6474, allocations: 102.8 kB / 1.138 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007124/0.6482, allocations: 478.5 kB / 1.139 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.6482, allocations: 4 kB / 1.139 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.6482, allocations: 0 / 1.139 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6482, allocations: 4 kB / 1.139 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.6494, allocations: 1.098 MB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6494, allocations: 4 kB / 1.14 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.6497, allocations: 67.89 kB / 1.14 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6497, allocations: 4 kB / 1.14 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.6497, allocations: 8 kB / 1.14 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6497, allocations: 4.219 kB / 1.14 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.6497, allocations: 15.92 kB / 1.14 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.6504, allocations: 0.6224 MB / 1.14 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.6507, allocations: 219.7 kB / 1.141 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.6508, allocations: 11.98 kB / 1.141 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.6513, allocations: 59.73 kB / 1.141 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.6513, allocations: 35.91 kB / 1.141 GB, free: 1 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.6514, allocations: 12 kB / 1.141 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007814/0.6521, allocations: 0.7836 MB / 1.142 GB, free: 200 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6522, allocations: 4 kB / 1.142 GB, free: 196 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008165/0.653, allocations: 411.5 kB / 1.142 GB, free: 15.79 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.001259/0.6542, allocations: 1.717 MB / 1.144 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.6553, allocations: 0.798 MB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6553, allocations: 0 / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.6556, allocations: 207.6 kB / 1.145 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.6572, allocations: 460.4 kB / 1.145 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.6667, allocations: 9.551 MB / 1.154 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.6673, allocations: 1.201 MB / 1.156 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008528/0.6681, allocations: 423.5 kB / 1.156 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.6685, allocations: 319.3 kB / 1.156 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.6685, allocations: 0 / 1.156 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.725/3.394, allocations: 25.51 MB / 1.181 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/3.394, allocations: 258.1 kB / 1.181 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/5.885, allocations: 0 / 1.181 GB, free: 7.25 MB / 0.9356 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