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.001408/0.001408, allocations: 114.9 kB / 17.09 MB, free: 5.988 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.001425/0.001425, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.691/0.691, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 68.28 kB / 0.5583 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.136, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1149/0.2509, allocations: 115.2 MB / 0.7452 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.378/0.629, allocations: 26.54 MB / 0.7711 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00536/0.6344, allocations: 113.3 kB / 0.7712 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.6376, allocations: 1.146 MB / 0.7723 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009328/0.6469, allocations: 3.42 MB / 0.7757 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005897/0.6529, allocations: 2.346 MB / 0.778 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0076/0.6605, allocations: 6.202 MB / 0.784 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.6631, allocations: 1.929 MB / 0.7859 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005281/0.6684, allocations: 2.688 MB / 0.7885 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.6707, allocations: 1.77 MB / 0.7903 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.6711, allocations: 220.5 kB / 0.7905 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.6763, allocations: 2.343 MB / 0.7928 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.6767, allocations: 0.5348 MB / 0.7933 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.6781, allocations: 1.286 MB / 0.7945 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006327/0.6844, allocations: 4.101 MB / 0.7985 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6845, allocations: 2.406 kB / 0.7985 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6845, allocations: 0 / 0.7985 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.6845, allocations: 0 / 0.7985 GB, free: 6.309 MB / 0.5762 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.00449/0.689, allocations: 2.831 MB / 0.8013 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6891, allocations: 7.969 kB / 0.8013 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/0.6897, allocations: 264.2 kB / 0.8016 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.693, allocations: 2.14 MB / 0.8037 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.693, allocations: 110 kB / 0.8038 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.6932, allocations: 140.2 kB / 0.8039 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.6953, allocations: 1.449 MB / 0.8053 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.6953, allocations: 14.64 kB / 0.8053 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6954, allocations: 58.62 kB / 0.8054 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.6955, allocations: 37.44 kB / 0.8054 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.697, allocations: 1.026 MB / 0.8064 GB, free: 1.09 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.007695/0.7047, allocations: 8.128 MB / 0.8144 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.7061, allocations: 0.8339 MB / 0.8152 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.7067, allocations: 369.6 kB / 0.8155 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.7087, allocations: 2.809 MB / 0.8183 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.7087, allocations: 41.78 kB / 0.8183 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.306e-06/0.7087, allocations: 0 / 0.8183 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002108/0.7108, allocations: 1.127 MB / 0.8194 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7109, allocations: 64.89 kB / 0.8195 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002015/0.7129, allocations: 1.62 MB / 0.821 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/0.713, allocations: 41.8 kB / 0.8211 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006917/0.7137, allocations: 0.9272 MB / 0.822 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.7139, allocations: 311 kB / 0.8223 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.7142, allocations: 230.2 kB / 0.8225 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7144, allocations: 346.8 kB / 0.8228 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005642/0.715, allocations: 336.7 kB / 0.8232 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/0.7158, allocations: 0.713 MB / 0.8239 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.7173, allocations: 1.083 MB / 0.8249 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.7173, allocations: 3.938 kB / 0.8249 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002196/0.7195, allocations: 1.251 MB / 0.8261 GB, free: 272 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.7195, allocations: 8 kB / 0.8262 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.7195, allocations: 16 kB / 0.8262 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.7196, allocations: 16 kB / 0.8262 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.7204, allocations: 267.5 kB / 0.8264 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-05/0.7204, allocations: 23.92 kB / 0.8265 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.7215, allocations: 130.8 kB / 0.8266 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.7217, allocations: 71.91 kB / 0.8267 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001054/0.7227, allocations: 0.6213 MB / 0.8273 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008377/0.7236, allocations: 0.7032 MB / 0.8279 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/0.725, allocations: 1.081 MB / 0.829 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/0.7251, allocations: 8 kB / 0.829 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002224/0.7273, allocations: 1.245 MB / 0.8302 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7273, allocations: 9.875 kB / 0.8302 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.7274, allocations: 16 kB / 0.8302 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7274, allocations: 20 kB / 0.8303 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.7281, allocations: 260 kB / 0.8305 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.7282, allocations: 27.92 kB / 0.8305 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7293, allocations: 95.27 kB / 0.8306 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.7294, allocations: 63.97 kB / 0.8307 GB, free: 11.29 MB / 0.6075 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.0002912/0.7297, allocations: 259.8 kB / 0.8309 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.7301, allocations: 189.7 kB / 0.8311 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.7331, allocations: 1.737 MB / 0.8328 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/0.7348, allocations: 1.15 MB / 0.8339 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/0.7348, allocations: 4 kB / 0.8339 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/0.7356, allocations: 426.1 kB / 0.8344 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/0.7359, allocations: 23.94 kB / 0.8344 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/0.7368, allocations: 43.95 kB / 0.8344 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.737, allocations: 84.88 kB / 0.8345 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002273/0.7393, allocations: 1.329 MB / 0.8358 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00305/0.7423, allocations: 2.114 MB / 0.8379 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008152/0.7432, allocations: 0.5743 MB / 0.8384 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001828/0.745, allocations: 1.087 MB / 0.8395 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of Backend: time 5.81e-07/0.745, allocations: 0 / 0.8395 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005273/0.7503, allocations: 2.172 MB / 0.8416 GB, free: 68 kB / 0.6075 GB Notification: Performance of SimCode: time 0.007635/0.7579, allocations: 4.318 MB / 0.8458 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.07165/0.8296, allocations: 45.14 MB / 0.8899 GB, free: 15.09 MB / 0.67 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)