Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.592/1.592, allocations: 288.4 MB / 303.6 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 191 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007681/0.000768, allocations: 98.23 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 12.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05066/0.2224, allocations: 66.85 MB / 1.045 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.2452, allocations: 18.9 MB / 1.064 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.2477, allocations: 75.44 kB / 1.064 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.2497, allocations: 0.7456 MB / 1.065 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.2544, allocations: 2.041 MB / 1.067 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.2581, allocations: 1.576 MB / 1.068 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3751/0.6332, allocations: 9.126 MB / 1.077 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007687/0.6409, allocations: 5.535 MB / 1.083 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00591/0.6468, allocations: 2.748 MB / 1.085 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004476/0.6513, allocations: 2.304 MB / 1.088 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008814/0.6522, allocations: 129.4 kB / 1.088 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.6559, allocations: 1.197 MB / 1.089 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.657, allocations: 0.6083 MB / 1.089 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002859/0.6599, allocations: 1.558 MB / 1.091 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003931/0.6638, allocations: 3.524 MB / 1.094 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6638, allocations: 1.375 kB / 1.094 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6639, allocations: 0 / 1.094 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.73e-05/0.6639, allocations: 0 / 1.094 GB, free: 19.07 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006251/0.6702, allocations: 3.823 MB / 1.098 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.6702, allocations: 9.688 kB / 1.098 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002768/0.6705, allocations: 231.6 kB / 1.098 GB, free: 17.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/0.6724, allocations: 0.5715 MB / 1.099 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.6759, allocations: 2.581 MB / 1.101 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.602e-05/0.676, allocations: 140.5 kB / 1.102 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.6762, allocations: 188.9 kB / 1.102 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003344/0.6796, allocations: 2.413 MB / 1.104 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.6796, allocations: 7.312 kB / 1.104 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.6798, allocations: 66.25 kB / 1.104 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.6798, allocations: 38.56 kB / 1.104 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.683, allocations: 2.018 MB / 1.106 GB, free: 15.8 MB / 0.6823 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.01316/0.6962, allocations: 12.14 MB / 1.118 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.6989, allocations: 1.554 MB / 1.12 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.7006, allocations: 1.098 MB / 1.121 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006122/0.7067, allocations: 4.087 MB / 1.125 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001448/0.7082, allocations: 0.8785 MB / 1.125 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001698/0.7099, allocations: 459.4 kB / 1.126 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.7099, allocations: 0 / 1.126 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.01497/0.7249, allocations: 5.282 MB / 1.131 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.7249, allocations: 61.78 kB / 1.131 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/0.7295, allocations: 2.998 MB / 1.134 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.7297, allocations: 56.92 kB / 1.134 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.7307, allocations: 1.416 MB / 1.135 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.7309, allocations: 345.3 kB / 1.136 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.731, allocations: 30.12 kB / 1.136 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.7311, allocations: 365.8 kB / 1.136 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.7323, allocations: 0.6877 MB / 1.137 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.7338, allocations: 1.497 MB / 1.138 GB, free: 160 kB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.7364, allocations: 1.929 MB / 1.14 GB, free: 15.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.7365, allocations: 3.375 kB / 1.14 GB, free: 15.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005961/0.7424, allocations: 2.942 MB / 1.143 GB, free: 14.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.7428, allocations: 0.5434 MB / 1.144 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.7428, allocations: 13.75 kB / 1.144 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.7456, allocations: 0.7714 MB / 1.144 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.7467, allocations: 303.9 kB / 1.145 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.7488, allocations: 2.18 MB / 1.147 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.7518, allocations: 240.9 kB / 1.147 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.752, allocations: 79.5 kB / 1.147 GB, free: 12.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.752, allocations: 6.891 kB / 1.147 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003879/0.7559, allocations: 2.304 MB / 1.149 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.756, allocations: 18.23 kB / 1.149 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.7573, allocations: 0.5888 MB / 1.15 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/0.7583, allocations: 285.4 kB / 1.15 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007088/0.7654, allocations: 6.502 MB / 1.157 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002803/0.7682, allocations: 242.4 kB / 1.157 GB, free: 6.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.7684, allocations: 69.67 kB / 1.157 GB, free: 6.453 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001758/0.7702, allocations: 0.82 MB / 1.158 GB, free: 5.836 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007961/0.771, allocations: 300.3 kB / 1.158 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.7755, allocations: 2.489 MB / 1.16 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.7756, allocations: 12 kB / 1.16 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.7756, allocations: 0 / 1.16 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/0.7789, allocations: 2.185 MB / 1.163 GB, free: 1.203 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.008087/0.787, allocations: 4.706 MB / 1.167 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.787, allocations: 2.734 kB / 1.167 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.7878, allocations: 162.7 kB / 1.167 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.7889, allocations: 0.5425 MB / 1.168 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.789, allocations: 35.92 kB / 1.168 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.7907, allocations: 2.084 MB / 1.17 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7907, allocations: 11.88 kB / 1.17 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005379/0.7961, allocations: 3.34 MB / 1.173 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.7974, allocations: 0.5479 MB / 1.174 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005819/0.798, allocations: 20 kB / 1.174 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.8001, allocations: 211.6 kB / 1.174 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.8002, allocations: 64.89 kB / 1.174 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.8003, allocations: 35.98 kB / 1.174 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002884/0.8032, allocations: 2.052 MB / 1.176 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8032, allocations: 0 / 1.176 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004237/0.8075, allocations: 1.482 MB / 1.177 GB, free: 1.789 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.00602/0.8135, allocations: 4.02 MB / 1.181 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00546/0.819, allocations: 3.254 MB / 1.185 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.819, allocations: 0 / 1.185 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.8204, allocations: 0.8268 MB / 1.185 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007417/0.8279, allocations: 1.542 MB / 1.187 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/0.8701, allocations: 21.24 MB / 1.208 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.8717, allocations: 2.045 MB / 1.21 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002565/0.8742, allocations: 0.6639 MB / 1.21 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/0.8757, allocations: 1.179 MB / 1.211 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of SimCode: time 1.253e-06/0.8757, allocations: 0 / 1.211 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.327/2.203, allocations: 85.59 MB / 1.295 GB, free: 8.703 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/2.203, allocations: 258.7 kB / 1.295 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.328/6.531, allocations: 0 / 1.295 GB, free: 8.367 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)