Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.305/2.305, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001091/0.001091, allocations: 176.9 kB / 487.4 MB, free: 5.047 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.458/1.458, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0008966/0.0008966, allocations: 91.8 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.305e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.287, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.392, allocations: 439.4 MB / 1.635 GB, free: 15.04 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.393, allocations: 86.08 kB / 1.635 GB, free: 15 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 5.898/7.291, allocations: 1.506 GB / 3.141 GB, free: 146.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.964e-06/7.291, allocations: 0 / 3.141 GB, free: 146.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0008719/7.292, allocations: 95.17 kB / 3.141 GB, free: 146.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01285/7.305, allocations: 3.593 MB / 3.145 GB, free: 144.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/7.305, allocations: 13.23 kB / 3.145 GB, free: 144.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00979/7.314, allocations: 1.462 MB / 3.146 GB, free: 144.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0645/7.379, allocations: 28.12 MB / 3.174 GB, free: 143.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/7.379, allocations: 72.72 kB / 3.174 GB, free: 143.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/7.381, allocations: 143.8 kB / 3.174 GB, free: 143.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005287/7.386, allocations: 1.823 MB / 3.176 GB, free: 143.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006359/7.392, allocations: 2.19 MB / 3.178 GB, free: 142.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-05/7.392, allocations: 6.766 kB / 3.178 GB, free: 142.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/7.393, allocations: 3.906 kB / 3.178 GB, free: 142.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/7.393, allocations: 51.47 kB / 3.178 GB, free: 142.7 MB / 1.182 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.01831/7.411, allocations: 11.77 MB / 3.19 GB, free: 136.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/7.413, allocations: 1.758 MB / 3.191 GB, free: 136.8 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/7.414, allocations: 0.7306 MB / 3.192 GB, free: 136.8 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006606/7.421, allocations: 3.768 MB / 3.196 GB, free: 135.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/7.421, allocations: 52.81 kB / 3.196 GB, free: 135.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001795/7.423, allocations: 165.1 kB / 3.196 GB, free: 135 MB / 1.182 GB Notification: Performance of pre-optimization done (n=116): time 4.949e-06/7.423, allocations: 0 / 3.196 GB, free: 135 MB / 1.182 GB Notification: Performance of matching and sorting (n=116): time 0.006985/7.43, allocations: 2.458 MB / 3.198 GB, free: 134.7 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/7.43, allocations: 66.69 kB / 3.198 GB, free: 134.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003849/7.434, allocations: 2.433 MB / 3.201 GB, free: 134.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0004102/7.434, allocations: 29.05 kB / 3.201 GB, free: 134.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/7.435, allocations: 1.723 MB / 3.202 GB, free: 133.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/7.436, allocations: 387.7 kB / 3.203 GB, free: 133.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/7.436, allocations: 0 / 3.203 GB, free: 133.6 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001196/7.436, allocations: 381.4 kB / 3.203 GB, free: 133.3 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/7.437, allocations: 0.7013 MB / 3.204 GB, free: 133.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/7.438, allocations: 1.449 MB / 3.205 GB, free: 132.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003137/7.441, allocations: 1.078 MB / 3.206 GB, free: 132.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/7.441, allocations: 7.688 kB / 3.206 GB, free: 132.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007764/7.449, allocations: 2.979 MB / 3.209 GB, free: 132.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001685/7.451, allocations: 7.615 MB / 3.217 GB, free: 124.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/7.451, allocations: 20.78 kB / 3.217 GB, free: 124.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/7.453, allocations: 0.7016 MB / 3.217 GB, free: 124.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/7.454, allocations: 414.7 kB / 3.218 GB, free: 124.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/7.459, allocations: 5.418 MB / 3.223 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/7.462, allocations: 212.1 kB / 3.223 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004652/7.463, allocations: 157.5 kB / 3.223 GB, free: 119.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/7.463, allocations: 6.875 kB / 3.223 GB, free: 119.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006909/7.47, allocations: 2.387 MB / 3.226 GB, free: 119.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.087e-05/7.47, allocations: 20.88 kB / 3.226 GB, free: 119.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/7.472, allocations: 0.8041 MB / 3.227 GB, free: 119.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/7.474, allocations: 387.9 kB / 3.227 GB, free: 119.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/7.487, allocations: 12.11 MB / 3.239 GB, free: 111.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003491/7.491, allocations: 197.8 kB / 3.239 GB, free: 111.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000539/7.491, allocations: 132.6 kB / 3.239 GB, free: 111.9 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.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: pum_m_flow.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: pum_dp.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: pum.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: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001004/7.492, allocations: 177.6 kB / 3.239 GB, free: 111.7 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007292/7.5, allocations: 2.156 MB / 3.241 GB, free: 111.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/7.501, allocations: 327.9 kB / 3.242 GB, free: 111.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/7.507, allocations: 2.58 MB / 3.244 GB, free: 111 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/7.507, allocations: 20.02 kB / 3.244 GB, free: 111 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/7.507, allocations: 0 / 3.244 GB, free: 111 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/7.507, allocations: 8.75 kB / 3.244 GB, free: 111 MB / 1.182 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.01178/7.519, allocations: 4.535 MB / 3.249 GB, free: 110.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/7.519, allocations: 3.562 kB / 3.249 GB, free: 110.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/7.52, allocations: 243.9 kB / 3.249 GB, free: 110.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009728/7.521, allocations: 494 kB / 3.249 GB, free: 110.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/7.522, allocations: 33.19 kB / 3.249 GB, free: 110.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/7.524, allocations: 4.934 MB / 3.254 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/7.525, allocations: 1.906 kB / 3.254 GB, free: 106.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006141/7.531, allocations: 2.456 MB / 3.257 GB, free: 105.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/7.533, allocations: 0.5801 MB / 3.257 GB, free: 105.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/7.534, allocations: 0 / 3.257 GB, free: 105.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/7.536, allocations: 209.3 kB / 3.257 GB, free: 105.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/7.537, allocations: 88.28 kB / 3.257 GB, free: 105.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/7.537, allocations: 77.5 kB / 3.257 GB, free: 105.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003764/7.54, allocations: 1.811 MB / 3.259 GB, free: 105.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.71e-07/7.54, allocations: 0 / 3.259 GB, free: 105.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.008917/7.549, allocations: 1.871 MB / 3.261 GB, free: 105 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/7.56, allocations: 5.034 MB / 3.266 GB, free: 103.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.007197/7.567, allocations: 3.557 MB / 3.269 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/7.567, allocations: 2.062 kB / 3.269 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/7.569, allocations: 0.7987 MB / 3.27 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007539/7.576, allocations: 1.421 MB / 3.272 GB, free: 102.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/7.591, allocations: 5.049 MB / 3.277 GB, free: 101.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/7.594, allocations: 2.246 MB / 3.279 GB, free: 100.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.006899/7.601, allocations: 1.15 MB / 3.28 GB, free: 100.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/7.603, allocations: 1.503 MB / 3.281 GB, free: 100.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.202e-06/7.603, allocations: 3.125 kB / 3.281 GB, free: 100.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/7.78, allocations: 111 MB / 3.39 GB, free: 93.71 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/7.78, allocations: 177.9 kB / 3.39 GB, free: 93.52 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.298/14.08, allocations: 3.094 kB / 3.39 GB, free: 93.52 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat does not exist to compare? outputFormat=mat