Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") translateModel(BuildingSystems.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.000957/0.0009571, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 273.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.987/0.987, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 103.8 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.357, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example3): time 0.03297/0.39, allocations: 33.17 MB / 0.7994 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.4072, allocations: 12.31 MB / 0.8115 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.4086, allocations: 51.75 kB / 0.8115 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.4125, allocations: 1.548 MB / 0.813 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.4163, allocations: 1.785 MB / 0.8148 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.4195, allocations: 1.494 MB / 0.8162 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009918/0.4295, allocations: 7.8 MB / 0.8238 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/0.433, allocations: 2.117 MB / 0.8259 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.4379, allocations: 1.949 MB / 0.8278 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.4402, allocations: 1.435 MB / 0.8292 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.4407, allocations: 148 kB / 0.8293 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.4438, allocations: 1.35 MB / 0.8307 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007704/0.4446, allocations: 0.5994 MB / 0.8312 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.4464, allocations: 1.197 MB / 0.8324 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.4512, allocations: 3.544 MB / 0.8359 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4512, allocations: 0 / 0.8359 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4512, allocations: 4 kB / 0.8359 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.03e-05/0.4513, allocations: 0 / 0.8359 GB, free: 13.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005322/0.4566, allocations: 2.811 MB / 0.8386 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4567, allocations: 8.031 kB / 0.8386 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.4587, allocations: 436.6 kB / 0.8391 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/0.4635, allocations: 2.751 MB / 0.8417 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.4636, allocations: 78 kB / 0.8418 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.4638, allocations: 112 kB / 0.8419 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.466, allocations: 1.319 MB / 0.8432 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.4661, allocations: 4 kB / 0.8432 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.4662, allocations: 39.98 kB / 0.8432 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4662, allocations: 24 kB / 0.8433 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.4683, allocations: 1.022 MB / 0.8443 GB, free: 4.352 MB / 0.6075 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.008201/0.4765, allocations: 6.909 MB / 0.851 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4779, allocations: 0.5963 MB / 0.8516 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007692/0.4786, allocations: 393.6 kB / 0.852 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002811/0.4815, allocations: 1.774 MB / 0.8537 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008026/0.4823, allocations: 374.8 kB / 0.8541 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004716/0.4828, allocations: 91.09 kB / 0.8542 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=44): time 2.514e-06/0.4828, allocations: 0 / 0.8542 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44): time 0.003627/0.4864, allocations: 1.368 MB / 0.8555 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.4865, allocations: 55.41 kB / 0.8555 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.4896, allocations: 2.384 MB / 0.8579 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/0.4897, allocations: 37.7 kB / 0.8579 GB, free: 5.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008524/0.4905, allocations: 0.992 MB / 0.8589 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.4907, allocations: 161.8 kB / 0.859 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.4911, allocations: 290.6 kB / 0.8593 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4912, allocations: 361.9 kB / 0.8596 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009134/0.4921, allocations: 0.5017 MB / 0.8601 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.4934, allocations: 0.9892 MB / 0.8611 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.4954, allocations: 1.343 MB / 0.8624 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.4954, allocations: 0 / 0.8624 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003344/0.4987, allocations: 1.803 MB / 0.8642 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.4988, allocations: 45.64 kB / 0.8642 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.4988, allocations: 12 kB / 0.8642 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006931/0.4995, allocations: 191.7 kB / 0.8644 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.5004, allocations: 223.6 kB / 0.8646 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006813/0.5011, allocations: 0.7631 MB / 0.8654 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5024, allocations: 79.8 kB / 0.8654 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.5025, allocations: 55.98 kB / 0.8655 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001624/0.5041, allocations: 1.018 MB / 0.8665 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00115/0.5053, allocations: 0.9733 MB / 0.8674 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001776/0.5071, allocations: 1.303 MB / 0.8687 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.205e-06/0.5071, allocations: 4 kB / 0.8687 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00291/0.51, allocations: 1.793 MB / 0.8705 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.51, allocations: 37.7 kB / 0.8705 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5101, allocations: 16 kB / 0.8705 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.5103, allocations: 125.5 kB / 0.8706 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/0.5111, allocations: 219.5 kB / 0.8709 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.5133, allocations: 2.336 MB / 0.8731 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.5145, allocations: 79.95 kB / 0.8732 GB, free: 5.047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.5146, allocations: 51.98 kB / 0.8733 GB, free: 4.996 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.5149, allocations: 256.7 kB / 0.8735 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.5152, allocations: 217.3 kB / 0.8737 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/0.5175, allocations: 1.025 MB / 0.8747 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/0.5191, allocations: 0.9699 MB / 0.8757 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5192, allocations: 0 / 0.8757 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/0.5199, allocations: 358.2 kB / 0.876 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.5202, allocations: 12 kB / 0.876 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008001/0.521, allocations: 43.94 kB / 0.8761 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.5211, allocations: 48.36 kB / 0.8761 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002133/0.5232, allocations: 0.8897 MB / 0.877 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002316/0.5256, allocations: 1.309 MB / 0.8783 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006281/0.5262, allocations: 311.2 kB / 0.8785 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002301/0.5285, allocations: 1.631 MB / 0.8801 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of Backend: time 4.31e-07/0.5285, allocations: 0 / 0.8801 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004764/0.5333, allocations: 2.318 MB / 0.8824 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of SimCode: time 0.007886/0.5412, allocations: 4.804 MB / 0.8871 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of Templates: time 0.0666/0.6078, allocations: 43.47 MB / 0.9295 GB, free: 11.67 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)