Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001438/0.001438, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 205.2 kB / 16.79 MB, free: 6.84 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7988/0.7988, allocations: 122.9 MB / 413.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.31 kB / 0.4904 GB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1691, allocations: 77.93 MB / 0.5665 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4369/0.6061, allocations: 114.4 MB / 0.6782 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04382/0.6499, allocations: 26.66 MB / 0.7043 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008396/0.6584, allocations: 103.4 kB / 0.7044 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004922/0.6634, allocations: 0.9284 MB / 0.7053 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.6769, allocations: 3.169 MB / 0.7084 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008201/0.6851, allocations: 2.089 MB / 0.7104 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01227/0.6974, allocations: 8.162 MB / 0.7184 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003987/0.7014, allocations: 1.588 MB / 0.7199 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008084/0.7095, allocations: 2.298 MB / 0.7222 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.7141, allocations: 1.769 MB / 0.7239 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.7152, allocations: 112 kB / 0.724 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.7221, allocations: 2.151 MB / 0.7261 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.7235, allocations: 441.9 kB / 0.7265 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.7267, allocations: 1.174 MB / 0.7277 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009787/0.7365, allocations: 4.004 MB / 0.7316 GB, free: 148 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.7365, allocations: 0 / 0.7316 GB, free: 148 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7365, allocations: 0 / 0.7316 GB, free: 148 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001732/0.7367, allocations: 0 / 0.7316 GB, free: 148 kB / 0.545 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.009261/0.746, allocations: 2.834 MB / 0.7344 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.7461, allocations: 12.03 kB / 0.7344 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.7473, allocations: 257 kB / 0.7346 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.7526, allocations: 2.096 MB / 0.7367 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.7527, allocations: 102.7 kB / 0.7368 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.7531, allocations: 143.9 kB / 0.7369 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.7561, allocations: 1.454 MB / 0.7383 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.735e-05/0.7562, allocations: 3.938 kB / 0.7383 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.7564, allocations: 59.94 kB / 0.7384 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.321e-05/0.7564, allocations: 40 kB / 0.7384 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.7586, allocations: 1.017 MB / 0.7394 GB, free: 7.938 MB / 0.5606 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.01229/0.7709, allocations: 8.124 MB / 0.7473 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.7728, allocations: 0.8371 MB / 0.7482 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.7735, allocations: 372.7 kB / 0.7485 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002522/0.776, allocations: 2.811 MB / 0.7513 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.7761, allocations: 43.22 kB / 0.7513 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 5.09e-06/0.7761, allocations: 0 / 0.7513 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003016/0.7791, allocations: 1.132 MB / 0.7524 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.7792, allocations: 60.06 kB / 0.7525 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.7822, allocations: 1.61 MB / 0.754 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.7823, allocations: 41.7 kB / 0.7541 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008375/0.7832, allocations: 0.9276 MB / 0.755 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.7835, allocations: 311.6 kB / 0.7553 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.784, allocations: 226.7 kB / 0.7555 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.7842, allocations: 353.9 kB / 0.7558 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.7849, allocations: 329.9 kB / 0.7562 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.7859, allocations: 0.7071 MB / 0.7568 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.7877, allocations: 1.081 MB / 0.7579 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.7877, allocations: 4 kB / 0.7579 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002889/0.7906, allocations: 1.249 MB / 0.7591 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.7907, allocations: 8 kB / 0.7591 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/0.7907, allocations: 19.98 kB / 0.7591 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.7908, allocations: 20 kB / 0.7592 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.7916, allocations: 263.5 kB / 0.7594 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.7916, allocations: 20.25 kB / 0.7594 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.7934, allocations: 190.5 kB / 0.7596 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.7936, allocations: 67.97 kB / 0.7597 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001538/0.7951, allocations: 0.6197 MB / 0.7603 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.7964, allocations: 0.708 MB / 0.761 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00181/0.7983, allocations: 1.073 MB / 0.762 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.496e-05/0.7983, allocations: 4 kB / 0.762 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003111/0.8014, allocations: 1.246 MB / 0.7632 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.8014, allocations: 15.94 kB / 0.7633 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/0.8015, allocations: 12 kB / 0.7633 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/0.8015, allocations: 20 kB / 0.7633 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009678/0.8025, allocations: 263.5 kB / 0.7635 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.386e-05/0.8026, allocations: 25.33 kB / 0.7636 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.8043, allocations: 143.2 kB / 0.7637 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.8045, allocations: 71.91 kB / 0.7638 GB, free: 12.85 MB / 0.5919 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.0004244/0.8049, allocations: 255.9 kB / 0.764 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/0.8055, allocations: 189.7 kB / 0.7642 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.8095, allocations: 1.743 MB / 0.7659 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-05/0.8096, allocations: 23.98 kB / 0.7659 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.8096, allocations: 0 / 0.7659 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001967/0.8116, allocations: 1.146 MB / 0.767 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007226/0.8188, allocations: 3.478 MB / 0.7704 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-05/0.8189, allocations: 12.81 kB / 0.7705 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.8196, allocations: 203.7 kB / 0.7706 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.729e-05/0.8197, allocations: 15.98 kB / 0.7707 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.313e-05/0.8198, allocations: 43.97 kB / 0.7707 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.405e-05/0.8198, allocations: 12 kB / 0.7707 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.8198, allocations: 11.94 kB / 0.7707 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.8237, allocations: 2.23 MB / 0.7729 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.8248, allocations: 442.1 kB / 0.7733 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004682/0.8253, allocations: 31.98 kB / 0.7734 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.8267, allocations: 95.78 kB / 0.7734 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.8269, allocations: 120.7 kB / 0.7736 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.827, allocations: 60.09 kB / 0.7736 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002207/0.8293, allocations: 1.075 MB / 0.7747 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8293, allocations: 4 kB / 0.7747 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004135/0.8334, allocations: 1.123 MB / 0.7758 GB, free: 208 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002003/0.8354, allocations: 0.7986 MB / 0.7766 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003619/0.8391, allocations: 1.792 MB / 0.7783 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.8391, allocations: 5.875 kB / 0.7783 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.8405, allocations: 0.8256 MB / 0.7791 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/0.8457, allocations: 0.9089 MB / 0.78 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/0.8534, allocations: 4.367 MB / 0.7843 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.855, allocations: 1.436 MB / 0.7857 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002793/0.8578, allocations: 0.5465 MB / 0.7862 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/0.8585, allocations: 187.3 kB / 0.7864 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of SimCode: time 1.153e-06/0.8585, allocations: 3.938 kB / 0.7864 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.3703/1.229, allocations: 41.08 MB / 0.8265 GB, free: 216.6 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)