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.001156/0.001156, allocations: 101.8 kB / 15.98 MB, free: 6.344 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.00114/0.00114, allocations: 194.1 kB / 16.91 MB, free: 6.195 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.371/1.371, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7789/0.7789, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.91 kB / 0.4906 GB, free: 7.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4513/0.4527, allocations: 77.93 MB / 0.5667 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1092/0.5619, allocations: 114.2 MB / 0.6782 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04028/0.6022, allocations: 26.37 MB / 0.7039 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007109/0.6094, allocations: 107.4 kB / 0.7041 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005146/0.6146, allocations: 0.9831 MB / 0.705 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.6266, allocations: 3.184 MB / 0.7081 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007817/0.6344, allocations: 2.139 MB / 0.7102 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009756/0.6442, allocations: 6.235 MB / 0.7163 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/0.6482, allocations: 1.894 MB / 0.7181 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007333/0.6556, allocations: 2.642 MB / 0.7207 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003629/0.6592, allocations: 1.82 MB / 0.7225 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008109/0.66, allocations: 220 kB / 0.7227 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005614/0.6657, allocations: 2.386 MB / 0.725 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.6666, allocations: 0.5331 MB / 0.7256 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.6695, allocations: 1.287 MB / 0.7268 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009332/0.6788, allocations: 4.086 MB / 0.7308 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6789, allocations: 0 / 0.7308 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6789, allocations: 0 / 0.7308 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001224/0.679, allocations: 0 / 0.7308 GB, free: 2.477 MB / 0.5606 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.008052/0.6871, allocations: 2.834 MB / 0.7336 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.6871, allocations: 8.625 kB / 0.7336 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008544/0.688, allocations: 257.1 kB / 0.7338 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.6922, allocations: 2.1 MB / 0.7359 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.704e-05/0.6923, allocations: 102.7 kB / 0.736 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.6926, allocations: 135.9 kB / 0.7361 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.6952, allocations: 1.465 MB / 0.7375 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.6952, allocations: 0 / 0.7375 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6954, allocations: 60 kB / 0.7376 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.6954, allocations: 36 kB / 0.7376 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.6973, allocations: 1.029 MB / 0.7386 GB, free: 10.26 MB / 0.5762 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.009191/0.7065, allocations: 8.116 MB / 0.7466 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.708, allocations: 0.838 MB / 0.7474 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.7087, allocations: 385.4 kB / 0.7478 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3173/1.026, allocations: 2.794 MB / 0.7505 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.026, allocations: 42.41 kB / 0.7505 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.487e-06/1.026, allocations: 1.312 kB / 0.7505 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003328/1.029, allocations: 1.127 MB / 0.7516 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.029, allocations: 64.78 kB / 0.7517 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/1.032, allocations: 1.604 MB / 0.7532 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/1.032, allocations: 43.27 kB / 0.7533 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.033, allocations: 0.9317 MB / 0.7542 GB, free: 161 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/1.033, allocations: 308.4 kB / 0.7545 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003809/1.034, allocations: 233.8 kB / 0.7547 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/1.034, allocations: 348.8 kB / 0.7551 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/1.035, allocations: 328.8 kB / 0.7554 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009501/1.036, allocations: 0.7081 MB / 0.7561 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/1.037, allocations: 1.084 MB / 0.7571 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/1.037, allocations: 4.625 kB / 0.7571 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002945/1.04, allocations: 1.243 MB / 0.7583 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.04, allocations: 10.84 kB / 0.7583 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-05/1.04, allocations: 24.09 kB / 0.7584 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.143e-05/1.041, allocations: 18.53 kB / 0.7584 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/1.041, allocations: 261.7 kB / 0.7586 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/1.041, allocations: 24.75 kB / 0.7587 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.043, allocations: 182 kB / 0.7588 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/1.043, allocations: 69.7 kB / 0.7589 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001404/1.045, allocations: 0.6196 MB / 0.7595 GB, free: 158 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001191/1.046, allocations: 0.705 MB / 0.7602 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001863/1.048, allocations: 1.085 MB / 0.7613 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.156e-06/1.048, allocations: 4.281 kB / 0.7613 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002497/1.05, allocations: 1.244 MB / 0.7625 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/1.05, allocations: 10.66 kB / 0.7625 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/1.05, allocations: 16.83 kB / 0.7625 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.05, allocations: 17.72 kB / 0.7625 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009028/1.051, allocations: 260.3 kB / 0.7628 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/1.051, allocations: 24.73 kB / 0.7628 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/1.053, allocations: 146.3 kB / 0.7629 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.053, allocations: 64.53 kB / 0.763 GB, free: 156 MB / 0.5762 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.0004242/1.054, allocations: 259.8 kB / 0.7632 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/1.054, allocations: 189.3 kB / 0.7634 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/1.057, allocations: 1.75 MB / 0.7651 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/1.057, allocations: 17.62 kB / 0.7651 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/1.057, allocations: 5.094 kB / 0.7651 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0017/1.059, allocations: 1.143 MB / 0.7663 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/1.065, allocations: 3.482 MB / 0.7697 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/1.065, allocations: 10.22 kB / 0.7697 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/1.065, allocations: 203.5 kB / 0.7699 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/1.065, allocations: 11.22 kB / 0.7699 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.722e-05/1.066, allocations: 38.72 kB / 0.7699 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.408e-05/1.066, allocations: 18.94 kB / 0.7699 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.066, allocations: 9.844 kB / 0.7699 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/1.069, allocations: 2.231 MB / 0.7721 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/1.07, allocations: 439 kB / 0.7725 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/1.07, allocations: 31.28 kB / 0.7726 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.071, allocations: 98.03 kB / 0.7727 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.071, allocations: 118 kB / 0.7728 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.071, allocations: 58.7 kB / 0.7728 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001734/1.073, allocations: 1.078 MB / 0.7739 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/1.073, allocations: 2.156 kB / 0.7739 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003662/1.077, allocations: 1.127 MB / 0.775 GB, free: 150.6 MB / 0.5762 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.001594/1.078, allocations: 0.7841 MB / 0.7758 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003839/1.082, allocations: 1.905 MB / 0.7776 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.082, allocations: 0 / 0.7776 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.083, allocations: 0.8219 MB / 0.7784 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004274/1.088, allocations: 0.9662 MB / 0.7794 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/1.093, allocations: 4.383 MB / 0.7836 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/1.093, allocations: 1.432 MB / 0.785 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001973/1.095, allocations: 0.5385 MB / 0.7856 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/1.096, allocations: 189.7 kB / 0.7857 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/1.096, allocations: 0 / 0.7857 GB, free: 144.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.0601/1.156, allocations: 42.49 MB / 0.8272 GB, free: 102.7 MB / 0.5762 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)