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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007133/0.0007133, allocations: 92.17 kB / 16.02 MB, free: 84 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.0007543/0.0007544, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.246/1.246, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6736/0.6736, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 495.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 77.54 MB / 0.56 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.362/0.4966, allocations: 112.6 MB / 0.67 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0337/0.5304, allocations: 26.39 MB / 0.6957 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004882/0.5353, allocations: 99.38 kB / 0.6958 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.5384, allocations: 0.9206 MB / 0.6967 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008777/0.5472, allocations: 3.166 MB / 0.6998 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005606/0.5529, allocations: 2.088 MB / 0.7018 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008831/0.5617, allocations: 8.164 MB / 0.7098 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.5643, allocations: 1.542 MB / 0.7113 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.569, allocations: 2.263 MB / 0.7135 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.5717, allocations: 1.711 MB / 0.7152 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004752/0.5722, allocations: 88 kB / 0.7153 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.5768, allocations: 2.132 MB / 0.7174 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.5775, allocations: 418 kB / 0.7178 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.5793, allocations: 1.156 MB / 0.7189 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00591/0.5852, allocations: 3.925 MB / 0.7227 GB, free: 15.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5852, allocations: 3.938 kB / 0.7227 GB, free: 15.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5852, allocations: 0 / 0.7227 GB, free: 15.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.997e-05/0.5853, allocations: 0 / 0.7227 GB, free: 15.78 MB / 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.005157/0.5905, allocations: 2.429 MB / 0.7251 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5906, allocations: 12.03 kB / 0.7251 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003707/0.5909, allocations: 194.6 kB / 0.7253 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006978/0.5916, allocations: 261.1 kB / 0.7256 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.5956, allocations: 2.099 MB / 0.7276 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.305e-05/0.5957, allocations: 102.7 kB / 0.7277 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.5959, allocations: 139.9 kB / 0.7278 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.5982, allocations: 1.465 MB / 0.7293 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.5983, allocations: 7.938 kB / 0.7293 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.5984, allocations: 56 kB / 0.7293 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.5984, allocations: 39.98 kB / 0.7294 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.6002, allocations: 1.029 MB / 0.7304 GB, free: 7.758 MB / 0.545 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.008419/0.6086, allocations: 8.132 MB / 0.7383 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.61, allocations: 0.8445 MB / 0.7391 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.6106, allocations: 388.7 kB / 0.7395 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.6126, allocations: 2.807 MB / 0.7423 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.6127, allocations: 39.22 kB / 0.7423 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.835e-06/0.6127, allocations: 0 / 0.7423 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.002103/0.6148, allocations: 1.148 MB / 0.7434 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.6149, allocations: 67.94 kB / 0.7435 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.6168, allocations: 1.602 MB / 0.745 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.6169, allocations: 41.7 kB / 0.7451 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006848/0.6176, allocations: 0.9315 MB / 0.746 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.6179, allocations: 303.6 kB / 0.7463 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.618, allocations: 93.66 kB / 0.7464 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.6181, allocations: 353.9 kB / 0.7467 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.6187, allocations: 322.4 kB / 0.747 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.6196, allocations: 0.715 MB / 0.7477 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.6211, allocations: 1.097 MB / 0.7488 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6211, allocations: 0 / 0.7488 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002003/0.6231, allocations: 1.257 MB / 0.75 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.6234, allocations: 440.6 kB / 0.7504 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.6235, allocations: 20 kB / 0.7504 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.6235, allocations: 20 kB / 0.7505 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008086/0.6243, allocations: 263.5 kB / 0.7507 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.6243, allocations: 27.92 kB / 0.7507 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.6255, allocations: 178.7 kB / 0.7509 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.6256, allocations: 68.75 kB / 0.751 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.6256, allocations: 4 kB / 0.751 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001679/0.6273, allocations: 1.062 MB / 0.752 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.6273, allocations: 16 kB / 0.752 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6274, allocations: 20 kB / 0.7521 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.6281, allocations: 256.1 kB / 0.7523 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.6282, allocations: 35.86 kB / 0.7523 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000992/0.6292, allocations: 166.8 kB / 0.7525 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.6293, allocations: 67.98 kB / 0.7526 GB, free: 15.07 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.0006709/0.6299, allocations: 480.6 kB / 0.753 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.6302, allocations: 189.7 kB / 0.7532 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002852/0.633, allocations: 1.748 MB / 0.7549 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.6331, allocations: 19.98 kB / 0.7549 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6331, allocations: 4 kB / 0.7549 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00163/0.6347, allocations: 1.154 MB / 0.7561 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/0.6396, allocations: 3.498 MB / 0.7595 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.6396, allocations: 8 kB / 0.7595 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.6403, allocations: 207.6 kB / 0.7597 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.6403, allocations: 12 kB / 0.7597 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.6404, allocations: 43.98 kB / 0.7597 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.6404, allocations: 16.23 kB / 0.7597 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6404, allocations: 11.94 kB / 0.7598 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.6434, allocations: 2.246 MB / 0.7619 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.644, allocations: 473.9 kB / 0.7624 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.6442, allocations: 32 kB / 0.7624 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/0.6451, allocations: 91.92 kB / 0.7625 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.6453, allocations: 116.7 kB / 0.7626 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.442e-05/0.6454, allocations: 67.95 kB / 0.7627 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00138/0.6468, allocations: 1.075 MB / 0.7637 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6468, allocations: 0 / 0.7637 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002561/0.6494, allocations: 1.127 MB / 0.7648 GB, free: 2.129 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.004336/0.6537, allocations: 3.483 MB / 0.7682 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002595/0.6563, allocations: 1.809 MB / 0.77 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6563, allocations: 4.375 kB / 0.77 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6574, allocations: 0.8222 MB / 0.7708 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/0.6627, allocations: 0.9426 MB / 0.7717 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.6831, allocations: 14.61 MB / 0.786 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009437/0.6841, allocations: 1.44 MB / 0.7874 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00178/0.6859, allocations: 0.5388 MB / 0.7879 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/0.6868, allocations: 0.8506 MB / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of SimCode: time 2.034e-06/0.6868, allocations: 0 / 0.7888 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9695/1.656, allocations: 56.79 MB / 0.8442 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/1.656, allocations: 237.8 kB / 0.8445 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.296/4.953, allocations: 0 / 0.8445 GB, free: 221.3 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)