Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001225/0.001225, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.974/0.974, allocations: 143 MB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 0.5135 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 82.04 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4427/0.6173, allocations: 114.4 MB / 0.7054 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04266/0.66, allocations: 26.71 MB / 0.7314 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006912/0.667, allocations: 100.4 kB / 0.7315 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003994/0.671, allocations: 0.9262 MB / 0.7324 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.6822, allocations: 3.166 MB / 0.7355 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00739/0.6896, allocations: 2.093 MB / 0.7376 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01241/0.702, allocations: 8.146 MB / 0.7455 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003933/0.706, allocations: 1.595 MB / 0.7471 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007585/0.7136, allocations: 2.306 MB / 0.7493 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.7176, allocations: 1.762 MB / 0.7511 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.7186, allocations: 116 kB / 0.7512 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007017/0.7257, allocations: 2.148 MB / 0.7533 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.7268, allocations: 445.9 kB / 0.7537 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003392/0.7302, allocations: 1.174 MB / 0.7548 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.7404, allocations: 4.167 MB / 0.7589 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7405, allocations: 0 / 0.7589 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7405, allocations: 0 / 0.7589 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001327/0.7406, allocations: 4 kB / 0.7589 GB, free: 4.582 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.008659/0.7493, allocations: 2.842 MB / 0.7617 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.7493, allocations: 8.031 kB / 0.7617 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.7503, allocations: 261.1 kB / 0.7619 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/0.7545, allocations: 2.118 MB / 0.764 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.7547, allocations: 102.7 kB / 0.7641 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.7549, allocations: 135.9 kB / 0.7642 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.7574, allocations: 1.454 MB / 0.7657 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.7575, allocations: 3.938 kB / 0.7657 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.7576, allocations: 60 kB / 0.7657 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.7577, allocations: 36 kB / 0.7657 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.7595, allocations: 1.021 MB / 0.7667 GB, free: 12.36 MB / 0.5919 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.01015/0.7697, allocations: 8.147 MB / 0.7747 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.7714, allocations: 0.8379 MB / 0.7755 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.772, allocations: 373 kB / 0.7759 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002447/0.7744, allocations: 2.814 MB / 0.7786 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.7745, allocations: 43.22 kB / 0.7787 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.276e-06/0.7745, allocations: 0 / 0.7787 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.002439/0.7769, allocations: 1.124 MB / 0.7798 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.777, allocations: 60.06 kB / 0.7798 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.7791, allocations: 1.61 MB / 0.7814 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.7792, allocations: 41.7 kB / 0.7814 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008181/0.78, allocations: 0.9315 MB / 0.7823 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.7803, allocations: 307.5 kB / 0.7826 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.7807, allocations: 234.7 kB / 0.7829 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7808, allocations: 349.9 kB / 0.7832 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.7815, allocations: 329.9 kB / 0.7835 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.7825, allocations: 0.7072 MB / 0.7842 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.7842, allocations: 1.077 MB / 0.7853 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.7842, allocations: 8 kB / 0.7853 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00245/0.7867, allocations: 1.253 MB / 0.7865 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7867, allocations: 8 kB / 0.7865 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.7867, allocations: 16 kB / 0.7865 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.7868, allocations: 16 kB / 0.7865 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.7876, allocations: 264 kB / 0.7868 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.7876, allocations: 27.88 kB / 0.7868 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.7889, allocations: 183.3 kB / 0.787 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.789, allocations: 67.98 kB / 0.787 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001201/0.7902, allocations: 0.6197 MB / 0.7876 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000937/0.7912, allocations: 0.715 MB / 0.7883 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00157/0.7927, allocations: 1.069 MB / 0.7894 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.835e-06/0.7927, allocations: 4 kB / 0.7894 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002304/0.7951, allocations: 1.249 MB / 0.7906 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.7951, allocations: 12 kB / 0.7906 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.7951, allocations: 12 kB / 0.7906 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.7952, allocations: 23.94 kB / 0.7907 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.796, allocations: 259.6 kB / 0.7909 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.796, allocations: 24.47 kB / 0.7909 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.7974, allocations: 151.2 kB / 0.7911 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.7975, allocations: 63.97 kB / 0.7911 GB, free: 1.246 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.0003689/0.7979, allocations: 255.8 kB / 0.7914 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.7983, allocations: 193.7 kB / 0.7916 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.8017, allocations: 1.744 MB / 0.7933 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.993e-05/0.8017, allocations: 23.98 kB / 0.7933 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.8018, allocations: 3.938 kB / 0.7933 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001817/0.8036, allocations: 1.15 MB / 0.7944 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006387/0.81, allocations: 3.482 MB / 0.7978 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.379e-05/0.81, allocations: 16.8 kB / 0.7978 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.8108, allocations: 203.7 kB / 0.798 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/0.8108, allocations: 12 kB / 0.798 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.419e-05/0.8109, allocations: 39.98 kB / 0.7981 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/0.8109, allocations: 15.94 kB / 0.7981 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.811, allocations: 11.94 kB / 0.7981 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.8146, allocations: 2.23 MB / 0.8003 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000921/0.8155, allocations: 442.1 kB / 0.8007 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/0.8159, allocations: 31.98 kB / 0.8007 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.8172, allocations: 92.8 kB / 0.8008 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.8174, allocations: 132.6 kB / 0.8009 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.8175, allocations: 55.97 kB / 0.801 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00199/0.8195, allocations: 1.079 MB / 0.8021 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.81e-07/0.8196, allocations: 0 / 0.8021 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004095/0.8237, allocations: 1.127 MB / 0.8032 GB, free: 4.605 MB / 0.6231 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.002064/0.8257, allocations: 0.8008 MB / 0.8039 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003315/0.8291, allocations: 1.801 MB / 0.8057 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8291, allocations: 4.062 kB / 0.8057 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8305, allocations: 0.8183 MB / 0.8065 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005247/0.8358, allocations: 0.9175 MB / 0.8074 GB, free: 220 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007793/0.8436, allocations: 4.376 MB / 0.8117 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.8451, allocations: 1.444 MB / 0.8131 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002622/0.8478, allocations: 0.5355 MB / 0.8136 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.8484, allocations: 191.3 kB / 0.8138 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of SimCode: time 1.472e-06/0.8484, allocations: 0 / 0.8138 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of Templates: time 0.07508/0.9235, allocations: 41.8 MB / 0.8546 GB, free: 324 kB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)