Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.001292/0.001292, allocations: 100.9 kB / 16.4 MB, free: 6.5 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.001269/0.001269, allocations: 192 kB / 17.34 MB, free: 5.738 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8141/0.8141, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.67 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1481, allocations: 78.85 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4872/0.6353, allocations: 161.5 MB / 0.8083 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.638, allocations: 1.689 MB / 0.8099 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.6383, allocations: 19.62 kB / 0.8099 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.6389, allocations: 161.5 kB / 0.8101 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.6401, allocations: 0.5079 MB / 0.8106 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.6412, allocations: 419.4 kB / 0.811 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008532/0.6421, allocations: 0.5714 MB / 0.8116 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.6425, allocations: 178.5 kB / 0.8117 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.6436, allocations: 461.8 kB / 0.8122 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.6438, allocations: 146.2 kB / 0.8123 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.6438, allocations: 13 kB / 0.8123 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.645, allocations: 0.6915 MB / 0.813 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6451, allocations: 86.36 kB / 0.8131 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.6453, allocations: 118.5 kB / 0.8132 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007824/0.6461, allocations: 0.4921 MB / 0.8137 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6461, allocations: 0 / 0.8137 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6461, allocations: 0 / 0.8137 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.6461, allocations: 0 / 0.8137 GB, free: 10.34 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000887/0.647, allocations: 0.5892 MB / 0.8142 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.647, allocations: 12.84 kB / 0.8143 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.6471, allocations: 46.89 kB / 0.8143 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.6475, allocations: 60.11 kB / 0.8144 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.6479, allocations: 302.2 kB / 0.8146 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.648, allocations: 16.72 kB / 0.8147 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.648, allocations: 17.66 kB / 0.8147 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.6484, allocations: 199.5 kB / 0.8149 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6484, allocations: 0 / 0.8149 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.6484, allocations: 9.781 kB / 0.8149 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.6484, allocations: 2.594 kB / 0.8149 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.6487, allocations: 135.6 kB / 0.815 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000992/0.6497, allocations: 0.7738 MB / 0.8158 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.65, allocations: 89.59 kB / 0.8158 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.6502, allocations: 78.08 kB / 0.8159 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002879/0.6505, allocations: 184.5 kB / 0.8161 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.6505, allocations: 42.48 kB / 0.8161 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.6505, allocations: 0 / 0.8161 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006468/0.6512, allocations: 212.9 kB / 0.8163 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.6512, allocations: 54.19 kB / 0.8164 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.6515, allocations: 266.3 kB / 0.8166 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.6515, allocations: 27.98 kB / 0.8167 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.68e-05/0.6516, allocations: 153.8 kB / 0.8168 GB, free: 8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.6516, allocations: 36.03 kB / 0.8169 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.6517, allocations: 26.66 kB / 0.8169 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6519, allocations: 334.2 kB / 0.8172 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.652, allocations: 49.59 kB / 0.8172 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.6522, allocations: 98.77 kB / 0.8173 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.6524, allocations: 117.6 kB / 0.8175 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.6524, allocations: 0 / 0.8175 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003394/0.6528, allocations: 161.8 kB / 0.8176 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6528, allocations: 10.69 kB / 0.8176 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6528, allocations: 1.969 kB / 0.8176 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6528, allocations: 4.062 kB / 0.8176 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.653, allocations: 27.48 kB / 0.8177 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.653, allocations: 6.484 kB / 0.8177 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.6532, allocations: 19.62 kB / 0.8177 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.6532, allocations: 4.938 kB / 0.8177 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000195/0.6534, allocations: 149.3 kB / 0.8178 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000159/0.6536, allocations: 93.83 kB / 0.8179 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002431/0.6538, allocations: 120.7 kB / 0.818 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.6538, allocations: 3.938 kB / 0.818 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003263/0.6542, allocations: 157.9 kB / 0.8182 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.6542, allocations: 5.094 kB / 0.8182 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.6542, allocations: 3.938 kB / 0.8182 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-06/0.6542, allocations: 2.75 kB / 0.8182 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.6543, allocations: 24.95 kB / 0.8182 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.6543, allocations: 6.406 kB / 0.8182 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.6545, allocations: 19.16 kB / 0.8182 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.6545, allocations: 4.344 kB / 0.8182 GB, free: 7.078 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001203/0.6546, allocations: 185.5 kB / 0.8184 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.6547, allocations: 29.5 kB / 0.8185 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.6551, allocations: 158.2 kB / 0.8186 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.6551, allocations: 6.438 kB / 0.8186 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6551, allocations: 0 / 0.8186 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6551, allocations: 3.984 kB / 0.8186 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.656, allocations: 0.5944 MB / 0.8192 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.656, allocations: 0 / 0.8192 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.6561, allocations: 21.58 kB / 0.8192 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6562, allocations: 2.469 kB / 0.8192 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6562, allocations: 8.219 kB / 0.8192 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6562, allocations: 3.984 kB / 0.8192 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6562, allocations: 7.547 kB / 0.8192 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.6566, allocations: 299 kB / 0.8195 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.6567, allocations: 112.7 kB / 0.8196 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.6567, allocations: 6.609 kB / 0.8196 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.6569, allocations: 15.95 kB / 0.8196 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.657, allocations: 15.3 kB / 0.8197 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.657, allocations: 6.656 kB / 0.8197 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001659/0.6572, allocations: 197.3 kB / 0.8199 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6572, allocations: 0 / 0.8199 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000434/0.6576, allocations: 96.61 kB / 0.8199 GB, free: 5.855 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0009472/0.6586, allocations: 0.8935 MB / 0.8208 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.659, allocations: 172.7 kB / 0.821 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6591, allocations: 0 / 0.821 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.6592, allocations: 61.89 kB / 0.821 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.6599, allocations: 119.6 kB / 0.8212 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.6628, allocations: 2.346 MB / 0.8235 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.6632, allocations: 0.7643 MB / 0.8242 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.6634, allocations: 65.05 kB / 0.8243 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.6635, allocations: 68.23 kB / 0.8243 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/0.6635, allocations: 4 kB / 0.8243 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.6926, allocations: 6.907 MB / 0.8311 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.852, allocations: 11.3 kB / 0.8311 GB, free: 14.86 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)