Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001385/0.001385, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.002391, allocations: 283.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9519/0.9519, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.484, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1187/0.6027, allocations: 115.2 MB / 0.8795 GB, free: 400 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03944/0.6422, allocations: 26.57 MB / 0.9054 GB, free: 5.758 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00419/0.6465, allocations: 115.4 kB / 0.9056 GB, free: 5.645 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.65, allocations: 1.149 MB / 0.9067 GB, free: 4.488 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009093/0.6591, allocations: 3.435 MB / 0.91 GB, free: 1.039 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006206/0.6653, allocations: 2.351 MB / 0.9123 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008592/0.6739, allocations: 6.179 MB / 0.9184 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003432/0.6774, allocations: 1.921 MB / 0.9202 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007014/0.6844, allocations: 2.69 MB / 0.9229 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003399/0.6878, allocations: 1.777 MB / 0.9246 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008019/0.6886, allocations: 220 kB / 0.9248 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006728/0.6954, allocations: 2.34 MB / 0.9271 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.6964, allocations: 0.537 MB / 0.9276 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.6995, allocations: 1.287 MB / 0.9289 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008949/0.7085, allocations: 4.116 MB / 0.9329 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7085, allocations: 0 / 0.9329 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7085, allocations: 0 / 0.9329 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001094/0.7086, allocations: 0 / 0.9329 GB, free: 9.539 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007218/0.7159, allocations: 2.834 MB / 0.9357 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7159, allocations: 8.031 kB / 0.9357 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/0.7167, allocations: 257.1 kB / 0.9359 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.7213, allocations: 2.139 MB / 0.938 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.03e-05/0.7214, allocations: 110.6 kB / 0.9381 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.7217, allocations: 136 kB / 0.9382 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.7244, allocations: 1.457 MB / 0.9397 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.7244, allocations: 7.938 kB / 0.9397 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.7246, allocations: 56 kB / 0.9397 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.7246, allocations: 36 kB / 0.9398 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.7267, allocations: 1.025 MB / 0.9408 GB, free: 1.285 MB / 0.7012 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.00918/0.7359, allocations: 8.12 MB / 0.9487 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.7374, allocations: 0.8407 MB / 0.9495 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.7381, allocations: 375.8 kB / 0.9499 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00212/0.7402, allocations: 2.807 MB / 0.9526 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7403, allocations: 39.22 kB / 0.9526 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.226e-06/0.7403, allocations: 0 / 0.9526 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.002393/0.7427, allocations: 1.132 MB / 0.9538 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.7427, allocations: 60.06 kB / 0.9538 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.745, allocations: 1.621 MB / 0.9554 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.7451, allocations: 45.64 kB / 0.9554 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.413/1.158, allocations: 0.9289 MB / 0.9563 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/1.159, allocations: 305.6 kB / 0.9566 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000442/1.159, allocations: 231.1 kB / 0.9569 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/1.159, allocations: 351.4 kB / 0.9572 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007464/1.16, allocations: 330.7 kB / 0.9575 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009701/1.161, allocations: 0.7066 MB / 0.9582 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/1.163, allocations: 1.084 MB / 0.9593 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/1.163, allocations: 3.906 kB / 0.9593 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002719/1.165, allocations: 1.252 MB / 0.9605 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.166, allocations: 10.41 kB / 0.9605 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/1.166, allocations: 16.69 kB / 0.9605 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/1.166, allocations: 17.94 kB / 0.9605 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/1.166, allocations: 264.7 kB / 0.9608 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/1.166, allocations: 28.28 kB / 0.9608 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.168, allocations: 123.2 kB / 0.9609 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.168, allocations: 68.03 kB / 0.961 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001163/1.169, allocations: 0.6264 MB / 0.9616 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008171/1.17, allocations: 0.7013 MB / 0.9623 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00142/1.171, allocations: 1.088 MB / 0.9633 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.594e-06/1.171, allocations: 3.562 kB / 0.9634 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002411/1.174, allocations: 1.24 MB / 0.9646 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.174, allocations: 10.84 kB / 0.9646 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/1.174, allocations: 17.14 kB / 0.9646 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/1.174, allocations: 20.39 kB / 0.9646 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/1.175, allocations: 259.3 kB / 0.9649 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/1.175, allocations: 24.3 kB / 0.9649 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.176, allocations: 104.4 kB / 0.965 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.176, allocations: 63.59 kB / 0.965 GB, free: 179 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003652/1.176, allocations: 257.9 kB / 0.9653 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.177, allocations: 190.5 kB / 0.9655 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/1.18, allocations: 1.739 MB / 0.9672 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/1.181, allocations: 1.156 MB / 0.9683 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/1.181, allocations: 4.922 kB / 0.9683 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/1.182, allocations: 417.2 kB / 0.9687 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/1.182, allocations: 25.34 kB / 0.9687 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007605/1.183, allocations: 39.53 kB / 0.9688 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/1.183, allocations: 92.75 kB / 0.9688 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002061/1.185, allocations: 1.322 MB / 0.9701 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002772/1.188, allocations: 2.123 MB / 0.9722 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006465/1.189, allocations: 0.5641 MB / 0.9728 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001292/1.19, allocations: 1.09 MB / 0.9738 GB, free: 175 MB / 0.7169 GB Notification: Performance of Backend: time 3.8e-07/1.19, allocations: 0 / 0.9738 GB, free: 175 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004364/1.194, allocations: 2.178 MB / 0.976 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005936/1.2, allocations: 4.319 MB / 0.9802 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.05571/1.256, allocations: 45.2 MB / 1.024 GB, free: 126.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)