Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 109.1 kB / 16.41 MB, free: 6.465 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.001282/0.001282, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9186/0.9186, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3649, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example1v1): time 0.0625/0.4275, allocations: 72.72 MB / 0.8381 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02421/0.4517, allocations: 18.82 MB / 0.8565 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.4539, allocations: 95.44 kB / 0.8565 GB, free: 8 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.458, allocations: 1.818 MB / 0.8583 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.463, allocations: 2.512 MB / 0.8608 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.4672, allocations: 2.164 MB / 0.8629 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.4784, allocations: 10.95 MB / 0.8736 GB, free: 6.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006918/0.4854, allocations: 6.152 MB / 0.8796 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005743/0.4911, allocations: 3.355 MB / 0.8829 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/0.4945, allocations: 2.575 MB / 0.8854 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006028/0.4951, allocations: 264 kB / 0.8856 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003308/0.4985, allocations: 1.553 MB / 0.8871 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.4993, allocations: 0.9067 MB / 0.888 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.5012, allocations: 1.959 MB / 0.8899 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005536/0.5068, allocations: 5.362 MB / 0.8952 GB, free: 288 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5068, allocations: 0 / 0.8952 GB, free: 288 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5068, allocations: 0 / 0.8952 GB, free: 288 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.12e-05/0.5069, allocations: 0 / 0.8952 GB, free: 288 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.006697/0.5136, allocations: 4.365 MB / 0.8994 GB, free: 11.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5136, allocations: 8.031 kB / 0.8995 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.5165, allocations: 0.6822 MB / 0.9001 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005841/0.5224, allocations: 3.816 MB / 0.9038 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/0.5225, allocations: 135.2 kB / 0.904 GB, free: 7.121 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.5227, allocations: 188 kB / 0.9042 GB, free: 6.938 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/0.5265, allocations: 2.352 MB / 0.9065 GB, free: 4.426 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.5265, allocations: 7.938 kB / 0.9065 GB, free: 4.418 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.5267, allocations: 68 kB / 0.9065 GB, free: 4.352 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.5267, allocations: 40 kB / 0.9066 GB, free: 4.312 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.5303, allocations: 1.911 MB / 0.9084 GB, free: 2.395 MB / 0.67 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.01261/0.5429, allocations: 11.49 MB / 0.9197 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.5457, allocations: 1.342 MB / 0.921 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.5473, allocations: 1.021 MB / 0.922 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005339/0.5527, allocations: 3.726 MB / 0.9256 GB, free: 28 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/0.5541, allocations: 0.7779 MB / 0.9264 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009108/0.5551, allocations: 238.8 kB / 0.9266 GB, free: 15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=94): time 2.815e-06/0.5551, allocations: 0 / 0.9266 GB, free: 15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94): time 0.01152/0.5666, allocations: 4.241 MB / 0.9307 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.5666, allocations: 68.41 kB / 0.9308 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/0.5707, allocations: 3.475 MB / 0.9342 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.5708, allocations: 57.7 kB / 0.9342 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.572, allocations: 1.556 MB / 0.9358 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.5723, allocations: 343.2 kB / 0.9361 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005655/0.5729, allocations: 455.5 kB / 0.9365 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.573, allocations: 305.1 kB / 0.9368 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.5745, allocations: 0.8683 MB / 0.9377 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.5767, allocations: 1.674 MB / 0.9393 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.5801, allocations: 2.263 MB / 0.9415 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.5801, allocations: 4 kB / 0.9415 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006423/0.5865, allocations: 3.349 MB / 0.9448 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.5866, allocations: 41.7 kB / 0.9448 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.5866, allocations: 16 kB / 0.9448 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002338/0.589, allocations: 0.7006 MB / 0.9455 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.5903, allocations: 360.9 kB / 0.9459 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.592, allocations: 1.905 MB / 0.9477 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.5938, allocations: 120.4 kB / 0.9478 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.594, allocations: 99.94 kB / 0.9479 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002401/0.5964, allocations: 1.581 MB / 0.9495 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001873/0.5983, allocations: 1.649 MB / 0.9511 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002959/0.6012, allocations: 2.202 MB / 0.9532 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.164e-06/0.6012, allocations: 8 kB / 0.9532 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.004978/0.6062, allocations: 3.21 MB / 0.9564 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.6063, allocations: 41.7 kB / 0.9564 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.6063, allocations: 20.06 kB / 0.9564 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008626/0.6072, allocations: 481.2 kB / 0.9569 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.6085, allocations: 345.3 kB / 0.9572 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006399/0.6149, allocations: 6.331 MB / 0.9634 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.6167, allocations: 140.8 kB / 0.9635 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.6169, allocations: 87.97 kB / 0.9636 GB, free: 7.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.6173, allocations: 299.4 kB / 0.9639 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004052/0.6177, allocations: 339.7 kB / 0.9642 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.6224, allocations: 2.473 MB / 0.9667 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003408/0.6258, allocations: 2.093 MB / 0.9687 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6258, allocations: 0 / 0.9687 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/0.6266, allocations: 0.5317 MB / 0.9692 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/0.627, allocations: 27.98 kB / 0.9692 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.6282, allocations: 71.88 kB / 0.9693 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.6284, allocations: 120.7 kB / 0.9694 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3183/0.9467, allocations: 2.041 MB / 0.9714 GB, free: 193.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005123/0.9519, allocations: 2.636 MB / 0.974 GB, free: 192.6 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001228/0.9531, allocations: 0.6885 MB / 0.9747 GB, free: 192.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003148/0.9563, allocations: 2.351 MB / 0.977 GB, free: 191.6 MB / 0.7325 GB Notification: Performance of Backend: time 5.61e-07/0.9563, allocations: 3.969 kB / 0.977 GB, free: 191.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006931/0.9632, allocations: 3.761 MB / 0.9806 GB, free: 190.2 MB / 0.7325 GB Notification: Performance of SimCode: time 0.009308/0.9725, allocations: 7.53 MB / 0.988 GB, free: 187 MB / 0.7325 GB Notification: Performance of Templates: time 0.07655/1.049, allocations: 65.2 MB / 1.052 GB, free: 126.7 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v1.pipe 2>&1)