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.007349/0.007349, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.001844/0.001844, allocations: 194.5 kB / 16.79 MB, free: 6.242 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.192/1.192, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6303/0.6303, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.69 kB / 493 MB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1187, allocations: 76.19 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.3445/0.4632, allocations: 159.2 MB / 0.7113 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.4657, allocations: 1.727 MB / 0.713 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.466, allocations: 7.938 kB / 0.713 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.4665, allocations: 135.2 kB / 0.7132 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.4676, allocations: 498 kB / 0.7136 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.4685, allocations: 371.6 kB / 0.714 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008141/0.4693, allocations: 0.7643 MB / 0.7147 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.4696, allocations: 148.5 kB / 0.7149 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/0.4701, allocations: 294.7 kB / 0.7152 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.4703, allocations: 155.3 kB / 0.7153 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.4704, allocations: 8 kB / 0.7153 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.4715, allocations: 0.7833 MB / 0.7161 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4716, allocations: 71.72 kB / 0.7162 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.4718, allocations: 107.4 kB / 0.7163 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007765/0.4725, allocations: 0.518 MB / 0.7168 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4726, allocations: 3.938 kB / 0.7168 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.02e-07/0.4726, allocations: 0 / 0.7168 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.4726, allocations: 4 kB / 0.7168 GB, free: 2.09 MB / 0.5294 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.0007353/0.4733, allocations: 0.5769 MB / 0.7173 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4734, allocations: 12.03 kB / 0.7173 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.4734, allocations: 46.55 kB / 0.7174 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.4737, allocations: 51.67 kB / 0.7174 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.474, allocations: 297.1 kB / 0.7177 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.474, allocations: 12 kB / 0.7177 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.4741, allocations: 16 kB / 0.7178 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.4744, allocations: 188.1 kB / 0.7179 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.4745, allocations: 7.984 kB / 0.7179 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.4745, allocations: 7.938 kB / 0.7179 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4745, allocations: 4 kB / 0.718 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.4748, allocations: 123.9 kB / 0.7181 GB, free: 0.6445 MB / 0.5294 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.000912/0.4757, allocations: 0.7964 MB / 0.7188 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.4759, allocations: 74.53 kB / 0.7189 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4761, allocations: 77.81 kB / 0.719 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.4764, allocations: 190.2 kB / 0.7192 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4764, allocations: 38.5 kB / 0.7192 GB, free: 15.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4764, allocations: 0 / 0.7192 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006201/0.4771, allocations: 221.1 kB / 0.7194 GB, free: 15.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.4771, allocations: 51.41 kB / 0.7195 GB, free: 15.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4773, allocations: 275 kB / 0.7197 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.4774, allocations: 29.7 kB / 0.7198 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.4774, allocations: 140 kB / 0.7199 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.4775, allocations: 35.41 kB / 0.7199 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.4775, allocations: 33.7 kB / 0.72 GB, free: 14.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4777, allocations: 334.8 kB / 0.7203 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4778, allocations: 44.83 kB / 0.7203 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.4779, allocations: 93.11 kB / 0.7204 GB, free: 14.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.4782, allocations: 123.3 kB / 0.7205 GB, free: 13.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4782, allocations: 4 kB / 0.7205 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003253/0.4785, allocations: 161.2 kB / 0.7207 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4785, allocations: 4 kB / 0.7207 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4786, allocations: 0 / 0.7207 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4786, allocations: 11.88 kB / 0.7207 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4787, allocations: 19.98 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.4787, allocations: 0 / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.4789, allocations: 25.64 kB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.4789, allocations: 4 kB / 0.7207 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001783/0.4791, allocations: 149.6 kB / 0.7209 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001486/0.4793, allocations: 93.05 kB / 0.721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000222/0.4795, allocations: 119.3 kB / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.21e-07/0.4795, allocations: 0 / 0.7211 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003048/0.4798, allocations: 155.5 kB / 0.7212 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.4798, allocations: 8 kB / 0.7212 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-06/0.4798, allocations: 5.062 kB / 0.7213 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-06/0.4798, allocations: 0 / 0.7213 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4799, allocations: 23.92 kB / 0.7213 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.48, allocations: 7.938 kB / 0.7213 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.4801, allocations: 23.91 kB / 0.7213 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4802, allocations: 7.984 kB / 0.7213 GB, free: 13.07 MB / 0.545 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 9.502e-05/0.4803, allocations: 184.3 kB / 0.7215 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.4803, allocations: 27.72 kB / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.4807, allocations: 167.2 kB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.4807, allocations: 4 kB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4807, allocations: 0.75 kB / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4807, allocations: 0 / 0.7217 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.4815, allocations: 0.5898 MB / 0.7223 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4815, allocations: 0 / 0.7223 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4817, allocations: 31.92 kB / 0.7223 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4817, allocations: 4.219 kB / 0.7223 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4817, allocations: 7.938 kB / 0.7223 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4817, allocations: 4 kB / 0.7223 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4817, allocations: 0 / 0.7223 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.4821, allocations: 301 kB / 0.7226 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.4822, allocations: 116.8 kB / 0.7227 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.4822, allocations: 4 kB / 0.7227 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.4824, allocations: 15.98 kB / 0.7227 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.4825, allocations: 15.92 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4825, allocations: 7.938 kB / 0.7227 GB, free: 11.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001752/0.4827, allocations: 197.9 kB / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4827, allocations: 0 / 0.7229 GB, free: 11.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004367/0.4831, allocations: 95.84 kB / 0.723 GB, free: 11.17 MB / 0.545 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.0008574/0.484, allocations: 0.8938 MB / 0.7239 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.4844, allocations: 159.8 kB / 0.724 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4844, allocations: 0 / 0.724 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.4846, allocations: 68.2 kB / 0.7241 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.4853, allocations: 127.1 kB / 0.7242 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.4881, allocations: 2.405 MB / 0.7266 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.4884, allocations: 0.7599 MB / 0.7273 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.4886, allocations: 70.86 kB / 0.7274 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4887, allocations: 75.41 kB / 0.7275 GB, free: 6.426 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.4887, allocations: 0 / 0.7275 GB, free: 6.426 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7826/1.271, allocations: 6.612 MB / 0.7339 GB, free: 4 kB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.272, allocations: 252.5 kB / 0.7342 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/3.023, allocations: 0 / 0.7342 GB, free: 15.73 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)