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/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001663/0.001663, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003851, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7441, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.08593/0.8301, allocations: 86.02 MB / 1.038 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04362/0.8737, allocations: 28.29 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006253/0.88, allocations: 131.1 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006551/0.8866, allocations: 1.578 MB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01836/0.905, allocations: 5.063 MB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01265/0.9177, allocations: 3.668 MB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01504/0.9327, allocations: 5.702 MB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005747/0.9385, allocations: 2.669 MB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008006/0.9466, allocations: 2.923 MB / 1.086 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.9508, allocations: 1.949 MB / 1.088 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009667/0.9518, allocations: 152 kB / 1.088 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/0.9571, allocations: 1.693 MB / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.9585, allocations: 0.9029 MB / 1.091 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.9601, allocations: 0.8198 MB / 1.092 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00727/0.9674, allocations: 4.995 MB / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.9674, allocations: 0 / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.076e-06/0.9675, allocations: 0 / 1.097 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002235/0.9677, allocations: 0 / 1.097 GB, free: 13.28 MB / 0.8575 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.008583/0.9763, allocations: 4.098 MB / 1.101 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.9763, allocations: 8.031 kB / 1.101 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000692/0.977, allocations: 291.3 kB / 1.101 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00922/0.9863, allocations: 1.606 MB / 1.103 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.9978, allocations: 3.964 MB / 1.106 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.9981, allocations: 184.8 kB / 1.107 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000736/0.9989, allocations: 243.9 kB / 1.107 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005667/1.005, allocations: 2.654 MB / 1.109 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/1.005, allocations: 3.938 kB / 1.109 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/1.005, allocations: 92 kB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/1.005, allocations: 55.98 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/1.01, allocations: 2.069 MB / 1.112 GB, free: 13.76 MB / 0.8731 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.02017/1.031, allocations: 12.23 MB / 1.124 GB, free: 0.6875 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/1.035, allocations: 1.595 MB / 1.125 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007237/1.042, allocations: 3.817 MB / 1.129 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.042, allocations: 43.56 kB / 1.129 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001455/1.044, allocations: 202.3 kB / 1.129 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=108): time 4.86e-06/1.044, allocations: 4 kB / 1.129 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of matching and sorting (n=108): time 0.00994/1.054, allocations: 3.069 MB / 1.132 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.054, allocations: 64.41 kB / 1.132 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005956/1.06, allocations: 3.221 MB / 1.135 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007379/1.06, allocations: 61.69 kB / 1.135 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/1.062, allocations: 1.714 MB / 1.137 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007915/1.063, allocations: 374.6 kB / 1.137 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.063, allocations: 36 kB / 1.137 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001936/1.063, allocations: 377.8 kB / 1.138 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/1.066, allocations: 0.8237 MB / 1.139 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/1.068, allocations: 1.471 MB / 1.14 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/1.071, allocations: 0.9627 MB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/1.071, allocations: 7.938 kB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.007119/1.078, allocations: 2.808 MB / 1.144 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.002854/1.081, allocations: 7.669 MB / 1.151 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.894e-05/1.081, allocations: 19.94 kB / 1.151 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/1.082, allocations: 343.1 kB / 1.152 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/1.084, allocations: 463.2 kB / 1.152 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/1.086, allocations: 2.584 MB / 1.154 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/1.09, allocations: 227.8 kB / 1.155 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/1.09, allocations: 144.2 kB / 1.155 GB, free: 15.27 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.09, allocations: 0 / 1.155 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006432/1.096, allocations: 2.798 MB / 1.158 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.592e-05/1.096, allocations: 20 kB / 1.158 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.099, allocations: 0.6521 MB / 1.158 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.101, allocations: 435.3 kB / 1.159 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/1.115, allocations: 11.05 MB / 1.169 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002813/1.118, allocations: 219.7 kB / 1.17 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/1.118, allocations: 124 kB / 1.17 GB, free: 15.27 MB / 0.9356 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 192 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001665/1.12, allocations: 0.8168 MB / 1.171 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005419/1.12, allocations: 347.8 kB / 1.171 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006757/1.127, allocations: 2.69 MB / 1.174 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/1.127, allocations: 19.98 kB / 1.174 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.127, allocations: 4 kB / 1.174 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.127, allocations: 7.969 kB / 1.174 GB, free: 11.35 MB / 0.9356 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 postOpt removeSimpleEquations (simulation): time 0.01015/1.137, allocations: 5.002 MB / 1.178 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.137, allocations: 4.062 kB / 1.178 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.139, allocations: 283.6 kB / 1.179 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/1.14, allocations: 334.9 kB / 1.179 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/1.14, allocations: 51.89 kB / 1.179 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/1.141, allocations: 2.499 MB / 1.182 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.141, allocations: 0 / 1.182 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/1.147, allocations: 2.45 MB / 1.184 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/1.149, allocations: 0.598 MB / 1.184 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/1.149, allocations: 20.12 kB / 1.185 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.151, allocations: 235.3 kB / 1.185 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/1.152, allocations: 85.19 kB / 1.185 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.152, allocations: 75.92 kB / 1.185 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003288/1.155, allocations: 2.132 MB / 1.187 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.31e-07/1.155, allocations: 0 / 1.187 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006379/1.161, allocations: 1.773 MB / 1.189 GB, free: 11.5 MB / 0.9512 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006936/1.168, allocations: 3.543 MB / 1.192 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008933/1.177, allocations: 3.917 MB / 1.196 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.177, allocations: 0 / 1.196 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/1.18, allocations: 0.9219 MB / 1.197 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006711/1.187, allocations: 1.536 MB / 1.198 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/1.205, allocations: 20.11 MB / 1.218 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/1.207, allocations: 2.234 MB / 1.22 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004175/1.211, allocations: 0.8665 MB / 1.221 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.213, allocations: 1.565 MB / 1.223 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of SimCode: time 7.61e-07/1.213, allocations: 3.938 kB / 1.223 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5906/1.804, allocations: 101.8 MB / 1.322 GB, free: 217 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.804, allocations: 265 kB / 1.322 GB, free: 216.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.804/6.608, allocations: 4 kB / 1.322 GB, free: 216.6 MB / 0.9981 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