Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.627/1.627, allocations: 287.4 MB / 302.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 182.2 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008017/0.0008018, allocations: 92.17 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004296, allocations: 12.77 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2414, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.6822/0.9236, allocations: 95.01 MB / 1.072 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06274/0.9864, allocations: 33.94 MB / 1.105 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008924/0.9954, allocations: 139.4 kB / 1.105 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006727/1.002, allocations: 1.309 MB / 1.106 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01833/1.021, allocations: 3.902 MB / 1.11 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01328/1.034, allocations: 2.832 MB / 1.113 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02123/1.055, allocations: 10.69 MB / 1.123 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008905/1.064, allocations: 2.859 MB / 1.126 GB, free: 23.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01074/1.075, allocations: 3.15 MB / 1.129 GB, free: 22.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008113/1.083, allocations: 2.707 MB / 1.132 GB, free: 21.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002161/1.085, allocations: 163.4 kB / 1.132 GB, free: 21.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009582/1.095, allocations: 1.783 MB / 1.134 GB, free: 20.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003732/1.099, allocations: 0.9653 MB / 1.134 GB, free: 20.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003997/1.103, allocations: 0.8161 MB / 1.135 GB, free: 19.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.113, allocations: 5.102 MB / 1.14 GB, free: 16.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.113, allocations: 4 kB / 1.14 GB, free: 16.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.113, allocations: 0 / 1.14 GB, free: 16.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003131/1.114, allocations: 0 / 1.14 GB, free: 16.67 MB / 0.698 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.01395/1.128, allocations: 4.051 MB / 1.144 GB, free: 13.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.128, allocations: 13.19 kB / 1.144 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/1.129, allocations: 288.3 kB / 1.144 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007643/1.137, allocations: 1.251 MB / 1.146 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/1.15, allocations: 3.902 MB / 1.15 GB, free: 10.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/1.151, allocations: 179.2 kB / 1.15 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/1.152, allocations: 229.3 kB / 1.15 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008677/1.161, allocations: 2.598 MB / 1.152 GB, free: 8.574 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-05/1.161, allocations: 7.875 kB / 1.152 GB, free: 8.566 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006701/1.161, allocations: 91.28 kB / 1.153 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/1.162, allocations: 50.88 kB / 1.153 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00643/1.168, allocations: 1.94 MB / 1.154 GB, free: 7.543 MB / 0.698 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.02503/1.193, allocations: 12.13 MB / 1.166 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004444/1.198, allocations: 1.503 MB / 1.168 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/1.2, allocations: 0.7019 MB / 1.168 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01018/1.21, allocations: 3.726 MB / 1.172 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.21, allocations: 50.55 kB / 1.172 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002587/1.213, allocations: 192.4 kB / 1.172 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=108): time 9.909e-06/1.213, allocations: 3.312 kB / 1.172 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108): time 0.01033/1.223, allocations: 2.901 MB / 1.175 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.223, allocations: 66.44 kB / 1.175 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007677/1.231, allocations: 3.137 MB / 1.178 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005584/1.231, allocations: 53.7 kB / 1.178 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.233, allocations: 1.7 MB / 1.18 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007694/1.234, allocations: 375.6 kB / 1.18 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/1.235, allocations: 32 kB / 1.18 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002328/1.235, allocations: 373.9 kB / 1.181 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/1.237, allocations: 0.7651 MB / 1.182 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/1.24, allocations: 1.42 MB / 1.183 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/1.245, allocations: 2.112 MB / 1.185 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/1.245, allocations: 4 kB / 1.185 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008256/1.253, allocations: 2.671 MB / 1.188 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004895/1.254, allocations: 0.5984 MB / 1.188 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/1.254, allocations: 16 kB / 1.188 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.255, allocations: 347.1 kB / 1.188 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/1.257, allocations: 415.3 kB / 1.189 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/1.259, allocations: 2.6 MB / 1.191 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004103/1.263, allocations: 195.9 kB / 1.192 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007173/1.264, allocations: 139.9 kB / 1.192 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.264, allocations: 9.344 kB / 1.192 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007416/1.272, allocations: 2.677 MB / 1.194 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-05/1.272, allocations: 19.98 kB / 1.194 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/1.274, allocations: 0.6521 MB / 1.195 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/1.276, allocations: 395.3 kB / 1.195 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.293, allocations: 10.61 MB / 1.206 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/1.296, allocations: 187.8 kB / 1.206 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/1.297, allocations: 120 kB / 1.206 GB, free: 6.473 MB / 0.7448 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.002902/1.3, allocations: 0.8181 MB / 1.207 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.301, allocations: 335.6 kB / 1.207 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007581/1.309, allocations: 2.53 MB / 1.21 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/1.309, allocations: 23.98 kB / 1.21 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.309, allocations: 0 / 1.21 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/1.309, allocations: 7.969 kB / 1.21 GB, free: 2.727 MB / 0.7448 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.01288/1.322, allocations: 4.62 MB / 1.214 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.322, allocations: 3.984 kB / 1.214 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.323, allocations: 239.7 kB / 1.214 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000925/1.324, allocations: 335.6 kB / 1.215 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/1.324, allocations: 43.97 kB / 1.215 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.326, allocations: 2.502 MB / 1.217 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.326, allocations: 0 / 1.217 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/1.332, allocations: 2.273 MB / 1.219 GB, free: 8.531 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002318/1.334, allocations: 0.5742 MB / 1.22 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.335, allocations: 20 kB / 1.22 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/1.338, allocations: 187.7 kB / 1.22 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/1.338, allocations: 81.19 kB / 1.22 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/1.339, allocations: 71.94 kB / 1.22 GB, free: 7.582 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005226/1.344, allocations: 2.076 MB / 1.222 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.41e-07/1.344, allocations: 2.625 kB / 1.222 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009533/1.353, allocations: 1.719 MB / 1.224 GB, free: 3.773 MB / 0.7605 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.008453/1.362, allocations: 3.184 MB / 1.227 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.009976/1.372, allocations: 3.733 MB / 1.231 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.372, allocations: 4.312 kB / 1.231 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002606/1.375, allocations: 0.8728 MB / 1.232 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/1.386, allocations: 1.518 MB / 1.233 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07246/1.459, allocations: 23.96 MB / 1.257 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003099/1.462, allocations: 2.152 MB / 1.259 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005446/1.467, allocations: 0.8167 MB / 1.259 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/1.47, allocations: 1.522 MB / 1.261 GB, free: 12 MB / 0.8073 GB Notification: Performance of SimCode: time 3.085e-06/1.47, allocations: 0 / 1.261 GB, free: 12 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1961/1.667, allocations: 102.2 MB / 1.361 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/1.667, allocations: 253.4 kB / 1.361 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.239/6.905, allocations: 4 kB / 1.361 GB, free: 6.207 MB / 0.9011 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)