Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Pump_Nrpm_stratos,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_Nrpm_stratos",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.00543/0.005429, allocations: 180.1 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.738/0.738, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.61/1.61, allocations: 221.3 MB / 395 MB, free: 10.21 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.001048/0.001048, allocations: 106 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5001/0.5012, allocations: 88.41 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.7155, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/2.009, allocations: 360.9 MB / 0.9858 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/2.01, allocations: 90.69 kB / 0.9859 GB, free: 221.6 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 10.6/12.61, allocations: 2.721 GB / 3.707 GB, free: 37.17 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/12.61, allocations: 16.98 kB / 3.707 GB, free: 37.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02245/12.63, allocations: 3.05 MB / 3.71 GB, free: 36.54 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1775/12.81, allocations: 61.3 MB / 3.77 GB, free: 28.92 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004626/12.81, allocations: 160.9 kB / 3.77 GB, free: 28.91 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003379/12.81, allocations: 334.5 kB / 3.77 GB, free: 28.91 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01325/12.83, allocations: 4.936 MB / 3.775 GB, free: 27.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/12.85, allocations: 5.585 MB / 3.78 GB, free: 24.63 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/12.85, allocations: 6.938 kB / 3.78 GB, free: 24.63 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007723/12.85, allocations: 8.609 kB / 3.78 GB, free: 24.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002609/12.85, allocations: 186.6 kB / 3.781 GB, free: 24.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0723/12.92, allocations: 29.72 MB / 3.81 GB, free: 248 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007146/12.93, allocations: 2.855 MB / 3.812 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/12.93, allocations: 2.235 MB / 3.815 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03489/12.97, allocations: 11.46 MB / 3.826 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.169e-05/12.97, allocations: 68.66 kB / 3.826 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=277): time 8.296e-06/12.97, allocations: 0 / 3.826 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=277): time 0.02829/13, allocations: 6.536 MB / 3.832 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/13, allocations: 81.59 kB / 3.832 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.17/14.17, allocations: 9.696 MB / 3.842 GB, free: 108.7 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.002901/14.17, allocations: 36.73 kB / 3.842 GB, free: 108.6 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.006273/14.17, allocations: 2.472 MB / 3.844 GB, free: 108.5 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.004034/14.18, allocations: 0.925 MB / 3.845 GB, free: 108.3 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005714/14.18, allocations: 3.281 kB / 3.845 GB, free: 108.3 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.0004592/14.18, allocations: 0.4899 MB / 3.846 GB, free: 108 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003868/14.18, allocations: 2.337 MB / 3.848 GB, free: 107.9 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/14.19, allocations: 4.461 MB / 3.852 GB, free: 105.3 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/14.2, allocations: 3.416 MB / 3.856 GB, free: 105.3 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.138e-05/14.2, allocations: 19.09 kB / 3.856 GB, free: 105.3 MB / 0.8543 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.0241/14.22, allocations: 8.187 MB / 3.864 GB, free: 104.6 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.009835/14.23, allocations: 34.27 MB / 3.897 GB, free: 69.87 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002458/14.23, allocations: 58.72 kB / 3.897 GB, free: 69.87 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002911/14.24, allocations: 0.8941 MB / 3.898 GB, free: 69.83 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007222/14.24, allocations: 1.259 MB / 3.899 GB, free: 69.83 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/14.25, allocations: 4.099 MB / 3.903 GB, free: 67.22 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/14.26, allocations: 0.6835 MB / 3.904 GB, free: 67.08 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002907/14.26, allocations: 438.9 kB / 3.904 GB, free: 67.08 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/14.27, allocations: 4.594 kB / 3.904 GB, free: 67.08 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02471/14.29, allocations: 6.319 MB / 3.911 GB, free: 66.95 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003161/14.29, allocations: 57.88 kB / 3.911 GB, free: 66.95 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/14.29, allocations: 0.9017 MB / 3.911 GB, free: 66.91 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006311/14.3, allocations: 1.171 MB / 3.913 GB, free: 66.91 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/14.3, allocations: 4.101 MB / 3.917 GB, free: 64.3 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01299/14.32, allocations: 0.5378 MB / 3.917 GB, free: 64.2 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/14.32, allocations: 391.9 kB / 3.917 GB, free: 64.2 MB / 0.8543 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump5.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: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.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: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.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: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.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: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.004105/14.32, allocations: 294.3 kB / 3.918 GB, free: 64.1 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004646/14.33, allocations: 0.8941 MB / 3.919 GB, free: 63.6 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02554/14.35, allocations: 6.71 MB / 3.925 GB, free: 63.31 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.891e-05/14.35, allocations: 41.72 kB / 3.925 GB, free: 63.31 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/14.35, allocations: 0.5625 kB / 3.925 GB, free: 63.31 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/14.35, allocations: 21.41 kB / 3.925 GB, free: 63.3 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04686/14.4, allocations: 12.86 MB / 3.938 GB, free: 62.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/14.4, allocations: 0 / 3.938 GB, free: 62.7 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003928/14.41, allocations: 0.601 MB / 3.938 GB, free: 62.69 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/14.41, allocations: 0.7829 MB / 3.939 GB, free: 62.65 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008976/14.41, allocations: 94.83 kB / 3.939 GB, free: 62.65 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004181/14.41, allocations: 3.957 MB / 3.943 GB, free: 60.04 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/14.41, allocations: 5.75 kB / 3.943 GB, free: 60.04 MB / 0.8543 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02005/14.43, allocations: 7.844 MB / 3.951 GB, free: 58.88 MB / 0.8543 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02424/14.46, allocations: 11.05 MB / 3.962 GB, free: 57.31 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008629/14.47, allocations: 1.931 MB / 3.963 GB, free: 56.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005356/14.47, allocations: 17.83 kB / 3.963 GB, free: 56.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009522/14.48, allocations: 362.5 kB / 3.964 GB, free: 56.7 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009729/14.48, allocations: 192.7 kB / 3.964 GB, free: 56.69 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00112/14.48, allocations: 188.7 kB / 3.964 GB, free: 56.69 MB / 0.8543 GB Notification: Performance of sort global known variables: time 0.02105/14.5, allocations: 7.216 MB / 3.971 GB, free: 56.41 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.03177/14.54, allocations: 5.403 MB / 3.977 GB, free: 56.19 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0102/14.55, allocations: 4.465 MB / 3.981 GB, free: 54.64 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.01983/14.57, allocations: 8.734 MB / 3.989 GB, free: 54.48 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/14.57, allocations: 0 / 3.989 GB, free: 54.48 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.005013/14.57, allocations: 2.023 MB / 3.991 GB, free: 54.45 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02736/14.6, allocations: 4.034 MB / 3.995 GB, free: 54.41 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05036/14.65, allocations: 13.74 MB / 4.009 GB, free: 67.39 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01832/14.67, allocations: 6.115 MB / 4.015 GB, free: 66.48 MB / 0.8699 GB Notification: Performance of SimCode: time 1.543e-06/14.67, allocations: 0 / 4.015 GB, free: 66.48 MB / 0.8699 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)