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.001075/0.001075, allocations: 110.7 kB / 16.42 MB, free: 6.469 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.001109/0.001109, allocations: 187.9 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 296.6 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.9391/0.9391, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.39, allocations: 86.97 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example1v1): time 0.06789/0.4579, allocations: 72.72 MB / 0.8381 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02575/0.4837, allocations: 18.83 MB / 0.8565 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.4866, allocations: 95.44 kB / 0.8565 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004833/0.4915, allocations: 1.808 MB / 0.8583 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006336/0.4978, allocations: 2.601 MB / 0.8609 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.5028, allocations: 2.171 MB / 0.863 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01266/0.5154, allocations: 10.97 MB / 0.8737 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007258/0.5227, allocations: 6.156 MB / 0.8797 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.5287, allocations: 3.359 MB / 0.883 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/0.5325, allocations: 2.559 MB / 0.8855 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008441/0.5334, allocations: 264 kB / 0.8857 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.5372, allocations: 1.556 MB / 0.8872 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.5385, allocations: 0.9067 MB / 0.8881 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00306/0.5416, allocations: 1.959 MB / 0.89 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006966/0.5486, allocations: 5.362 MB / 0.8953 GB, free: 216 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.5486, allocations: 0 / 0.8953 GB, free: 216 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5486, allocations: 0 / 0.8953 GB, free: 216 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001467/0.5488, allocations: 0 / 0.8953 GB, free: 216 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.008517/0.5573, allocations: 4.38 MB / 0.8996 GB, free: 11.74 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5573, allocations: 8.031 kB / 0.8996 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.5603, allocations: 0.6667 MB / 0.9002 GB, free: 11.06 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006442/0.5668, allocations: 3.816 MB / 0.9039 GB, free: 7.188 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.5669, allocations: 143.1 kB / 0.9041 GB, free: 7.047 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/0.5672, allocations: 184 kB / 0.9043 GB, free: 6.867 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003836/0.571, allocations: 2.359 MB / 0.9066 GB, free: 4.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.5711, allocations: 11.94 kB / 0.9066 GB, free: 4.336 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.5713, allocations: 64 kB / 0.9066 GB, free: 4.273 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.5713, allocations: 44 kB / 0.9067 GB, free: 4.23 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.5749, allocations: 1.904 MB / 0.9085 GB, free: 2.32 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.01285/0.5878, allocations: 11.49 MB / 0.9198 GB, free: 6.316 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.5906, allocations: 1.329 MB / 0.9211 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.5922, allocations: 1.025 MB / 0.9221 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005812/0.5981, allocations: 3.73 MB / 0.9257 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/0.5996, allocations: 0.77 MB / 0.9265 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009859/0.6006, allocations: 238.8 kB / 0.9267 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=94): time 4.127e-06/0.6006, allocations: 0 / 0.9267 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94): time 0.01232/0.6129, allocations: 4.249 MB / 0.9308 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.613, allocations: 64.34 kB / 0.9309 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004783/0.6178, allocations: 3.475 MB / 0.9343 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.6179, allocations: 61.69 kB / 0.9343 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.6192, allocations: 1.564 MB / 0.9359 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.6195, allocations: 335.3 kB / 0.9362 GB, free: 5.082 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006186/0.6201, allocations: 463.4 kB / 0.9366 GB, free: 4.625 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.6202, allocations: 301.1 kB / 0.9369 GB, free: 4.328 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.6218, allocations: 0.8722 MB / 0.9378 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.6239, allocations: 1.671 MB / 0.9394 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/0.6273, allocations: 2.271 MB / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.6273, allocations: 4 kB / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006595/0.6339, allocations: 3.345 MB / 0.9449 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.634, allocations: 40.83 kB / 0.9449 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.634, allocations: 16 kB / 0.9449 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.6364, allocations: 0.7079 MB / 0.9456 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.6378, allocations: 348.9 kB / 0.946 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.6396, allocations: 1.913 MB / 0.9478 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/0.6417, allocations: 120.2 kB / 0.948 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.6419, allocations: 95.94 kB / 0.948 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002601/0.6445, allocations: 1.589 MB / 0.9496 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001958/0.6465, allocations: 1.637 MB / 0.9512 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003113/0.6496, allocations: 2.202 MB / 0.9533 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-05/0.6496, allocations: 8 kB / 0.9534 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005372/0.655, allocations: 3.213 MB / 0.9565 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.655, allocations: 37.7 kB / 0.9565 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.6551, allocations: 16 kB / 0.9565 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008968/0.656, allocations: 477.9 kB / 0.957 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6573, allocations: 357.2 kB / 0.9573 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0067/0.664, allocations: 6.338 MB / 0.9635 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.6661, allocations: 136.8 kB / 0.9637 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.6663, allocations: 92.03 kB / 0.9637 GB, free: 7.242 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.0004114/0.6667, allocations: 292.1 kB / 0.964 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/0.6673, allocations: 335.7 kB / 0.9643 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/0.6724, allocations: 2.474 MB / 0.9668 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/0.6762, allocations: 2.093 MB / 0.9688 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.6762, allocations: 4.062 kB / 0.9688 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.6776, allocations: 0.5278 MB / 0.9693 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007329/0.6783, allocations: 20 kB / 0.9693 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.6798, allocations: 83.86 kB / 0.9694 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.68, allocations: 120.7 kB / 0.9695 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.331/1.011, allocations: 2.044 MB / 0.9715 GB, free: 192.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005682/1.017, allocations: 2.635 MB / 0.9741 GB, free: 192 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001382/1.018, allocations: 0.6903 MB / 0.9748 GB, free: 191.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004191/1.022, allocations: 2.351 MB / 0.9771 GB, free: 190.9 MB / 0.7325 GB Notification: Performance of Backend: time 4.51e-07/1.022, allocations: 0 / 0.9771 GB, free: 190.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008329/1.031, allocations: 3.748 MB / 0.9807 GB, free: 189.6 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01235/1.043, allocations: 7.534 MB / 0.9881 GB, free: 186.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.08268/1.126, allocations: 65.21 MB / 1.052 GB, free: 125.6 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)