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.0008955/0.0008955, allocations: 98.42 kB / 16.02 MB, free: 80 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.0009728/0.0009729, allocations: 180 kB / 16.92 MB, free: 6.754 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.255/1.255, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6483/0.6483, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 8 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.3877/0.5247, allocations: 157.2 MB / 0.7135 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.5274, allocations: 1.699 MB / 0.7152 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.5276, allocations: 11.88 kB / 0.7152 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004384/0.5281, allocations: 123.2 kB / 0.7153 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.5292, allocations: 0.4903 MB / 0.7158 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.5301, allocations: 372.2 kB / 0.7162 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008133/0.5309, allocations: 0.7643 MB / 0.7169 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.5312, allocations: 144.5 kB / 0.717 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.5317, allocations: 294.7 kB / 0.7173 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.5319, allocations: 151.3 kB / 0.7175 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.5319, allocations: 8 kB / 0.7175 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.5329, allocations: 0.7833 MB / 0.7182 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.533, allocations: 71.72 kB / 0.7183 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.5332, allocations: 133.1 kB / 0.7184 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.5338, allocations: 0.5179 MB / 0.7189 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5338, allocations: 0 / 0.7189 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5338, allocations: 0 / 0.7189 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5338, allocations: 0 / 0.7189 GB, free: 4.031 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.0006974/0.5345, allocations: 0.538 MB / 0.7195 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5346, allocations: 8.031 kB / 0.7195 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.5346, allocations: 46.55 kB / 0.7195 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.5349, allocations: 59.67 kB / 0.7196 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.5352, allocations: 289.2 kB / 0.7199 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5353, allocations: 15.98 kB / 0.7199 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.5353, allocations: 12 kB / 0.7199 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.5356, allocations: 204.1 kB / 0.7201 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.5357, allocations: 0 / 0.7201 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.5357, allocations: 8 kB / 0.7201 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.5357, allocations: 4 kB / 0.7201 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.536, allocations: 135.9 kB / 0.7202 GB, free: 2.613 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.0009085/0.5369, allocations: 0.7924 MB / 0.721 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.5372, allocations: 86.53 kB / 0.7211 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.5373, allocations: 88.8 kB / 0.7212 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.5376, allocations: 190.2 kB / 0.7213 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.5376, allocations: 30.56 kB / 0.7214 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.5376, allocations: 4 kB / 0.7214 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0006346/0.5383, allocations: 241.2 kB / 0.7216 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.5383, allocations: 55.41 kB / 0.7217 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.5386, allocations: 267.4 kB / 0.7219 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.5386, allocations: 25.7 kB / 0.7219 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.5387, allocations: 140 kB / 0.7221 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.5387, allocations: 35.48 kB / 0.7221 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.5388, allocations: 21.66 kB / 0.7221 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.5389, allocations: 330.8 kB / 0.7224 GB, free: 164 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.539, allocations: 51.97 kB / 0.7225 GB, free: 112 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.5392, allocations: 97.05 kB / 0.7226 GB, free: 16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.5395, allocations: 131.4 kB / 0.7227 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5395, allocations: 0 / 0.7227 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003376/0.5398, allocations: 173.2 kB / 0.7229 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.5399, allocations: 113.5 kB / 0.723 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.5399, allocations: 11.97 kB / 0.723 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.5399, allocations: 0 / 0.723 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.54, allocations: 27.98 kB / 0.723 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.5401, allocations: 0 / 0.723 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.5402, allocations: 23.83 kB / 0.723 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.5403, allocations: 15.23 kB / 0.7231 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-06/0.5403, allocations: 0 / 0.7231 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002799/0.5406, allocations: 124 kB / 0.7232 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.5406, allocations: 0 / 0.7232 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.5406, allocations: 0 / 0.7232 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5407, allocations: 23.98 kB / 0.7232 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5407, allocations: 7.969 kB / 0.7232 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5409, allocations: 39.75 kB / 0.7232 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5409, allocations: 4 kB / 0.7232 GB, free: 15.29 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 0.0001343/0.5411, allocations: 214.6 kB / 0.7235 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.5411, allocations: 19.72 kB / 0.7235 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.5415, allocations: 176 kB / 0.7236 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5415, allocations: 0 / 0.7236 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5415, allocations: 7.938 kB / 0.7236 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5415, allocations: 0 / 0.7236 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/0.5423, allocations: 0.5977 MB / 0.7242 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.5424, allocations: 7.984 kB / 0.7242 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.5425, allocations: 24.2 kB / 0.7243 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5425, allocations: 4 kB / 0.7243 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5425, allocations: 4 kB / 0.7243 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5425, allocations: 3.938 kB / 0.7243 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5425, allocations: 4 kB / 0.7243 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.5429, allocations: 309.3 kB / 0.7246 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.543, allocations: 112.8 kB / 0.7247 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.543, allocations: 7.938 kB / 0.7247 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5432, allocations: 19.98 kB / 0.7247 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.5433, allocations: 15.92 kB / 0.7247 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5433, allocations: 4.875 kB / 0.7247 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001729/0.5435, allocations: 197.9 kB / 0.7249 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.513e-06/0.5435, allocations: 0 / 0.7249 GB, free: 13.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004122/0.5439, allocations: 99.78 kB / 0.725 GB, free: 13.33 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.0008243/0.5447, allocations: 0.913 MB / 0.7259 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.5452, allocations: 175.8 kB / 0.7261 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5452, allocations: 0 / 0.7261 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.5454, allocations: 68.45 kB / 0.7261 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.5462, allocations: 140.6 kB / 0.7263 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.5488, allocations: 2.441 MB / 0.7287 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5491, allocations: 0.7521 MB / 0.7294 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002105/0.5493, allocations: 74.88 kB / 0.7295 GB, free: 8.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/0.5494, allocations: 67.42 kB / 0.7295 GB, free: 8.512 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.5494, allocations: 0 / 0.7295 GB, free: 8.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4907/1.04, allocations: 6.511 MB / 0.7359 GB, free: 2.219 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/1.04, allocations: 250.4 kB / 0.7361 GB, free: 1.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.825, allocations: 0 / 0.7361 GB, free: 1.953 MB / 0.545 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)