Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004139/0.004138, allocations: 180.2 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7392/0.7392, allocations: 133.5 MB / 141.4 MB, free: 15.63 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 96.38 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5236/0.5248, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.749, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/2.053, allocations: 364.8 MB / 0.9895 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/2.053, allocations: 84.36 kB / 0.9896 GB, free: 205.2 MB / 0.6823 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 3.443/5.496, allocations: 0.9507 GB / 1.94 GB, free: 52.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/5.497, allocations: 10.22 kB / 1.94 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/5.503, allocations: 0.9636 MB / 1.941 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0559/5.559, allocations: 20.14 MB / 1.961 GB, free: 47.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/5.559, allocations: 53.38 kB / 1.961 GB, free: 47.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005806/5.56, allocations: 120.7 kB / 1.961 GB, free: 47.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00294/5.563, allocations: 1.631 MB / 1.963 GB, free: 47.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/5.566, allocations: 1.851 MB / 1.965 GB, free: 46.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/5.566, allocations: 6.844 kB / 1.965 GB, free: 46.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/5.566, allocations: 3.562 kB / 1.965 GB, free: 46.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/5.566, allocations: 40.91 kB / 1.965 GB, free: 46.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/5.585, allocations: 10.15 MB / 1.974 GB, free: 40.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/5.588, allocations: 1.622 MB / 1.976 GB, free: 39.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008743/5.589, allocations: 0.7323 MB / 1.977 GB, free: 39.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007545/5.596, allocations: 3.98 MB / 1.981 GB, free: 36.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/5.597, allocations: 49.09 kB / 1.981 GB, free: 36.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=84): time 4.278e-06/5.597, allocations: 3.938 kB / 1.981 GB, free: 36.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.007796/5.604, allocations: 2.264 MB / 1.983 GB, free: 35.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/5.604, allocations: 60.5 kB / 1.983 GB, free: 35.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008265/5.613, allocations: 3.538 MB / 1.986 GB, free: 32.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006142/5.613, allocations: 29.7 kB / 1.986 GB, free: 32.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007171/5.614, allocations: 0.89 MB / 1.987 GB, free: 32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/5.615, allocations: 279.8 kB / 1.988 GB, free: 31.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/5.615, allocations: 2 kB / 1.988 GB, free: 31.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001094/5.615, allocations: 365.9 kB / 1.988 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/5.616, allocations: 0.7771 MB / 1.989 GB, free: 30.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/5.617, allocations: 1.54 MB / 1.99 GB, free: 28.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/5.62, allocations: 1.121 MB / 1.991 GB, free: 27.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/5.62, allocations: 5.688 kB / 1.991 GB, free: 27.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006723/5.627, allocations: 2.882 MB / 1.994 GB, free: 24.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002179/5.629, allocations: 9.353 MB / 2.003 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/5.629, allocations: 24 kB / 2.003 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/5.63, allocations: 460 kB / 2.004 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/5.632, allocations: 375.3 kB / 2.004 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/5.634, allocations: 2.444 MB / 2.006 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/5.638, allocations: 250 kB / 2.007 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/5.638, allocations: 159.9 kB / 2.007 GB, free: 10.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/5.638, allocations: 8 kB / 2.007 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005697/5.644, allocations: 2.222 MB / 2.009 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.825e-05/5.644, allocations: 20.66 kB / 2.009 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/5.645, allocations: 0.5039 MB / 2.01 GB, free: 8.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/5.647, allocations: 351.4 kB / 2.01 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007474/5.654, allocations: 5.252 MB / 2.015 GB, free: 2.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/5.658, allocations: 202.8 kB / 2.015 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/5.658, allocations: 136 kB / 2.015 GB, free: 2.078 MB / 0.698 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.0007636/5.659, allocations: 171.6 kB / 2.016 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/5.66, allocations: 315.8 kB / 2.016 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007134/5.667, allocations: 2.273 MB / 2.018 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/5.667, allocations: 16 kB / 2.018 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/5.667, allocations: 3.938 kB / 2.018 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/5.667, allocations: 3.984 kB / 2.018 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/5.681, allocations: 4.418 MB / 2.022 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/5.681, allocations: 0 / 2.022 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/5.682, allocations: 195.8 kB / 2.023 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008204/5.683, allocations: 314.3 kB / 2.023 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/5.683, allocations: 23.97 kB / 2.023 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/5.685, allocations: 2.122 MB / 2.025 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/5.685, allocations: 7.547 kB / 2.025 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006665/5.691, allocations: 2.868 MB / 2.028 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009371/5.701, allocations: 4.135 MB / 2.032 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/5.704, allocations: 0.7113 MB / 2.032 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/5.705, allocations: 10.11 kB / 2.033 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/5.708, allocations: 135.7 kB / 2.033 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/5.708, allocations: 64.89 kB / 2.033 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/5.708, allocations: 59.95 kB / 2.033 GB, free: 64 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.4425/6.151, allocations: 2.643 MB / 2.035 GB, free: 116.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01046/6.161, allocations: 2.057 MB / 2.037 GB, free: 116.2 MB / 0.7136 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 (85): * Single equations (assignments): 74 * 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 9,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003393/6.165, allocations: 1.683 MB / 2.039 GB, free: 115.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005736/6.171, allocations: 3.01 MB / 2.042 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/6.171, allocations: 2.5 kB / 2.042 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/6.172, allocations: 0.6483 MB / 2.043 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00803/6.18, allocations: 1.447 MB / 2.044 GB, free: 115.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/6.191, allocations: 4.405 MB / 2.048 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002869/6.194, allocations: 2.498 MB / 2.051 GB, free: 114 MB / 0.7136 GB Notification: Performance of SimCode: time 1.233e-06/6.194, allocations: 0 / 2.051 GB, free: 114 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)