Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 112.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.001594/0.001594, allocations: 190.7 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 284.3 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.921/0.921, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 95.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3823, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6322/1.015, allocations: 305.1 MB / 1.065 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03206/1.047, allocations: 25.83 MB / 1.09 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004254/1.051, allocations: 128 kB / 1.09 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004606/1.056, allocations: 1.863 MB / 1.092 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01407/1.07, allocations: 6.194 MB / 1.098 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006588/1.076, allocations: 2.652 MB / 1.101 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01117/1.087, allocations: 8.923 MB / 1.11 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005077/1.093, allocations: 3.628 MB / 1.113 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00945/1.102, allocations: 4.273 MB / 1.117 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005183/1.107, allocations: 2.961 MB / 1.12 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/1.108, allocations: 360 kB / 1.12 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/1.119, allocations: 4.622 MB / 1.125 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002656/1.121, allocations: 1.64 MB / 1.127 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00453/1.126, allocations: 2.127 MB / 1.129 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01239/1.138, allocations: 6.762 MB / 1.135 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.138, allocations: 0 / 1.135 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/1.138, allocations: 4 kB / 1.135 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001593/1.139, allocations: 0 / 1.135 GB, free: 15.75 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.00867/1.147, allocations: 4.172 MB / 1.139 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.147, allocations: 8.031 kB / 1.139 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/1.153, allocations: 0.94 MB / 1.14 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/1.158, allocations: 2.392 MB / 1.143 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002519/1.159, allocations: 281.2 kB / 1.143 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006181/1.159, allocations: 291.9 kB / 1.143 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006137/1.165, allocations: 3.361 MB / 1.146 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.205e-05/1.166, allocations: 3.906 kB / 1.146 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/1.166, allocations: 116 kB / 1.147 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/1.166, allocations: 113.3 kB / 1.147 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/1.171, allocations: 2.796 MB / 1.149 GB, free: 1.023 MB / 0.7794 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.01646/1.187, allocations: 13.26 MB / 1.162 GB, free: 2.578 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/1.19, allocations: 1.685 MB / 1.164 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/1.191, allocations: 1.114 MB / 1.165 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/1.192, allocations: 329.1 kB / 1.165 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.192, allocations: 56.56 kB / 1.165 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=182): time 4.038e-06/1.192, allocations: 0 / 1.165 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=182): time 0.004975/1.197, allocations: 2.727 MB / 1.168 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.197, allocations: 77.34 kB / 1.168 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/1.2, allocations: 2.001 MB / 1.17 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001989/1.2, allocations: 69.7 kB / 1.17 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.201, allocations: 1.406 MB / 1.172 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006339/1.201, allocations: 0.6392 MB / 1.172 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/1.202, allocations: 391.3 kB / 1.173 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/1.202, allocations: 301.1 kB / 1.173 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/1.203, allocations: 0.8091 MB / 1.174 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/1.205, allocations: 1.41 MB / 1.175 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/1.208, allocations: 2.248 MB / 1.177 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.208, allocations: 4 kB / 1.177 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004267/1.213, allocations: 2.502 MB / 1.18 GB, free: 248 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.213, allocations: 12 kB / 1.18 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.213, allocations: 12 kB / 1.18 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.619e-05/1.213, allocations: 24 kB / 1.18 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/1.215, allocations: 0.5582 MB / 1.18 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.218, allocations: 4.153 MB / 1.184 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.22, allocations: 230 kB / 1.185 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1.22, allocations: 83.98 kB / 1.185 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002424/1.223, allocations: 1.464 MB / 1.186 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001753/1.224, allocations: 1.406 MB / 1.187 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003029/1.228, allocations: 2.229 MB / 1.19 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.961e-05/1.228, allocations: 11.92 kB / 1.19 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.00409/1.232, allocations: 2.486 MB / 1.192 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.232, allocations: 14.28 kB / 1.192 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.232, allocations: 16 kB / 1.192 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.232, allocations: 20 kB / 1.192 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.234, allocations: 475.3 kB / 1.193 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.991e-05/1.234, allocations: 27.88 kB / 1.193 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.236, allocations: 190.8 kB / 1.193 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.236, allocations: 87.98 kB / 1.193 GB, free: 2.148 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004823/1.237, allocations: 312.2 kB / 1.193 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/1.237, allocations: 268.7 kB / 1.193 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/1.241, allocations: 2.115 MB / 1.195 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002657/1.244, allocations: 1.886 MB / 1.197 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.244, allocations: 0 / 1.197 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.245, allocations: 0.556 MB / 1.198 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005137/1.246, allocations: 39.94 kB / 1.198 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/1.248, allocations: 90.64 kB / 1.198 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/1.248, allocations: 105.8 kB / 1.198 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00491/1.253, allocations: 2.358 MB / 1.2 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004783/1.258, allocations: 3.302 MB / 1.204 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001224/1.259, allocations: 0.9174 MB / 1.205 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002125/1.261, allocations: 1.334 MB / 1.206 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of Backend: time 4.31e-07/1.261, allocations: 7.938 kB / 1.206 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008158/1.269, allocations: 3.548 MB / 1.209 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0139/1.283, allocations: 7.434 MB / 1.217 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of Templates: time 0.1051/1.388, allocations: 69.31 MB / 1.284 GB, free: 5.109 MB / 0.92 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)