Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 387.4 MB / 394.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 184.8 kB / 487.4 MB, free: 4.984 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 91.91 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.941e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.277, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.425, allocations: 403 MB / 1.6 GB, free: 2.438 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.425, allocations: 92.06 kB / 1.6 GB, free: 2.395 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.153/4.578, allocations: 0.9387 GB / 2.538 GB, free: 87.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.275e-06/4.578, allocations: 0 / 2.538 GB, free: 87.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000365/4.579, allocations: 87.28 kB / 2.538 GB, free: 87.52 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.007214/4.586, allocations: 3.178 MB / 2.542 GB, free: 84.31 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/4.586, allocations: 12.03 kB / 2.542 GB, free: 84.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006584/4.593, allocations: 1.17 MB / 2.543 GB, free: 83.13 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03854/4.631, allocations: 20.01 MB / 2.562 GB, free: 63.24 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/4.631, allocations: 48 kB / 2.562 GB, free: 63.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003361/4.632, allocations: 113 kB / 2.562 GB, free: 63.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002395/4.634, allocations: 1.642 MB / 2.564 GB, free: 61.44 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/4.636, allocations: 1.864 MB / 2.566 GB, free: 59.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/4.636, allocations: 15.88 kB / 2.566 GB, free: 59.46 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/4.637, allocations: 4 kB / 2.566 GB, free: 59.46 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/4.637, allocations: 36 kB / 2.566 GB, free: 59.42 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01325/4.65, allocations: 10.16 MB / 2.576 GB, free: 48.81 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/4.652, allocations: 1.709 MB / 2.577 GB, free: 47.09 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/4.653, allocations: 0.7267 MB / 2.578 GB, free: 46.36 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005157/4.658, allocations: 4.065 MB / 2.582 GB, free: 42.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/4.658, allocations: 43.33 kB / 2.582 GB, free: 41.97 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001118/4.659, allocations: 154.8 kB / 2.582 GB, free: 41.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=84): time 2.975e-06/4.659, allocations: 0 / 2.582 GB, free: 41.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=84): time 0.005091/4.664, allocations: 2.197 MB / 2.584 GB, free: 39.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/4.664, allocations: 68.11 kB / 2.585 GB, free: 39.53 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004656/4.669, allocations: 3.449 MB / 2.588 GB, free: 36.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/4.669, allocations: 25.7 kB / 2.588 GB, free: 36.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/4.67, allocations: 1.6 MB / 2.589 GB, free: 34.45 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/4.671, allocations: 287.7 kB / 2.59 GB, free: 34.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/4.671, allocations: 0 / 2.59 GB, free: 34.16 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/4.671, allocations: 373.9 kB / 2.59 GB, free: 33.79 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008529/4.672, allocations: 0.7731 MB / 2.591 GB, free: 33.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/4.673, allocations: 1.519 MB / 2.592 GB, free: 31.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/4.675, allocations: 1.089 MB / 2.593 GB, free: 30.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/4.675, allocations: 7.953 kB / 2.593 GB, free: 30.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005476/4.681, allocations: 2.812 MB / 2.596 GB, free: 27.21 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00158/4.682, allocations: 9.372 MB / 2.605 GB, free: 17.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/4.682, allocations: 24 kB / 2.605 GB, free: 17.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009432/4.683, allocations: 438.2 kB / 2.606 GB, free: 16.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/4.685, allocations: 399.4 kB / 2.606 GB, free: 16.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/4.686, allocations: 2.385 MB / 2.608 GB, free: 13.83 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/4.689, allocations: 159.8 kB / 2.609 GB, free: 13.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/4.689, allocations: 155.9 kB / 2.609 GB, free: 13.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/4.69, allocations: 4 kB / 2.609 GB, free: 13.52 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004498/4.694, allocations: 2.178 MB / 2.611 GB, free: 11.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/4.694, allocations: 23.98 kB / 2.611 GB, free: 11.31 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/4.695, allocations: 490.4 kB / 2.611 GB, free: 10.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/4.696, allocations: 375.4 kB / 2.612 GB, free: 10.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/4.702, allocations: 5.103 MB / 2.617 GB, free: 5.098 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/4.706, allocations: 159.9 kB / 2.617 GB, free: 4.941 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/4.706, allocations: 136 kB / 2.617 GB, free: 4.809 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006703/4.707, allocations: 183.6 kB / 2.617 GB, free: 4.629 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005889/4.712, allocations: 1.72 MB / 2.619 GB, free: 2.887 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/4.714, allocations: 311.9 kB / 2.619 GB, free: 2.578 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005811/4.719, allocations: 2.143 MB / 2.621 GB, free: 428 kB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/4.719, allocations: 15.98 kB / 2.621 GB, free: 412 kB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/4.719, allocations: 0 / 2.621 GB, free: 412 kB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/4.719, allocations: 3.984 kB / 2.621 GB, free: 408 kB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.009702/4.729, allocations: 4.516 MB / 2.626 GB, free: 11.82 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/4.729, allocations: 12.11 kB / 2.626 GB, free: 11.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/4.73, allocations: 211.7 kB / 2.626 GB, free: 11.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006053/4.731, allocations: 266.4 kB / 2.626 GB, free: 11.33 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/4.731, allocations: 23.97 kB / 2.626 GB, free: 11.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/4.733, allocations: 2.03 MB / 2.628 GB, free: 9.199 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/4.733, allocations: 4.031 kB / 2.628 GB, free: 9.195 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/4.738, allocations: 2.712 MB / 2.631 GB, free: 6.43 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/4.74, allocations: 0.7114 MB / 2.632 GB, free: 5.695 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000829/4.741, allocations: 0 / 2.632 GB, free: 5.695 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/4.743, allocations: 167.7 kB / 2.632 GB, free: 5.531 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/4.743, allocations: 73.14 kB / 2.632 GB, free: 5.461 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/4.743, allocations: 59.95 kB / 2.632 GB, free: 5.402 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005127/4.748, allocations: 2.588 MB / 2.634 GB, free: 2.836 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/4.748, allocations: 0 / 2.634 GB, free: 2.836 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006742/4.755, allocations: 1.633 MB / 2.636 GB, free: 1.199 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.7923/5.547, allocations: 4.992 MB / 2.641 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006173/5.554, allocations: 3.007 MB / 2.644 GB, free: 171.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/5.554, allocations: 0 / 2.644 GB, free: 171.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/5.555, allocations: 0.6384 MB / 2.644 GB, free: 171.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007424/5.562, allocations: 1.525 MB / 2.646 GB, free: 171.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/5.574, allocations: 5.025 MB / 2.651 GB, free: 170.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/5.577, allocations: 2.184 MB / 2.653 GB, free: 169.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.007684/5.584, allocations: 1.601 MB / 2.654 GB, free: 169.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/5.586, allocations: 1.357 MB / 2.656 GB, free: 169.6 MB / 1.167 GB Notification: Performance of SimCode: time 7.72e-07/5.586, allocations: 0 / 2.656 GB, free: 169.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1905/5.777, allocations: 106.4 MB / 2.76 GB, free: 165.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/5.777, allocations: 187.2 kB / 2.76 GB, free: 165.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.546/11.32, allocations: 0 / 2.76 GB, free: 165.6 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat does not exist to compare? outputFormat=mat