Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",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.00341/0.00341, allocations: 182.9 kB / 7.461 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.7154/0.7154, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.551/1.551, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009856/0.0009855, allocations: 87.55 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4814/0.4824, allocations: 88.44 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.6771, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.912, allocations: 442.7 MB / 1.066 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.912, allocations: 93.44 kB / 1.066 GB, free: 168.7 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 3.434/5.346, allocations: 0.9573 GB / 2.023 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/5.346, allocations: 8 kB / 2.023 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/5.351, allocations: 0.5834 MB / 2.024 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/5.364, allocations: 4.072 MB / 2.028 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/5.365, allocations: 124 kB / 2.028 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/5.367, allocations: 231.9 kB / 2.028 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01256/5.379, allocations: 5.095 MB / 2.033 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/5.397, allocations: 5.523 MB / 2.038 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/5.397, allocations: 19.78 kB / 2.038 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007372/5.398, allocations: 8 kB / 2.038 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004761/5.398, allocations: 407.1 kB / 2.039 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5869/5.985, allocations: 25.01 MB / 2.063 GB, free: 42.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006486/5.992, allocations: 3.968 MB / 2.067 GB, free: 42.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/5.995, allocations: 2.293 MB / 2.069 GB, free: 42.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/6.02, allocations: 12.41 MB / 2.081 GB, free: 37.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/6.023, allocations: 2.141 MB / 2.083 GB, free: 37.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=310): time 6.612e-06/6.023, allocations: 0 / 2.083 GB, free: 37.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=334): time 0.09407/6.117, allocations: 18.68 MB / 2.102 GB, free: 36.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/6.117, allocations: 112.9 kB / 2.102 GB, free: 36.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/6.121, allocations: 2.221 MB / 2.104 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/6.122, allocations: 33.11 kB / 2.104 GB, free: 35.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/6.124, allocations: 1.516 MB / 2.105 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001883/6.126, allocations: 1.119 MB / 2.107 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/6.126, allocations: 0 / 2.107 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002313/6.126, allocations: 471 kB / 2.107 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/6.129, allocations: 1.883 MB / 2.109 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/6.133, allocations: 2.91 MB / 2.112 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02616/6.159, allocations: 5.287 MB / 2.117 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.539e-05/6.159, allocations: 7.406 kB / 2.117 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03586/6.195, allocations: 8.103 MB / 2.125 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002887/6.198, allocations: 11.92 MB / 2.136 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.653e-05/6.198, allocations: 28.94 kB / 2.136 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/6.198, allocations: 50.16 kB / 2.136 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03863/6.237, allocations: 3.859 MB / 2.14 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/6.25, allocations: 5.509 MB / 2.146 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006697/6.257, allocations: 298 kB / 2.146 GB, free: 33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001567/6.258, allocations: 204.5 kB / 2.146 GB, free: 33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/6.258, allocations: 8.031 kB / 2.146 GB, free: 33 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02199/6.28, allocations: 6.147 MB / 2.152 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.86e-05/6.28, allocations: 27.62 kB / 2.152 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.665e-05/6.28, allocations: 51.38 kB / 2.152 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006765/6.287, allocations: 1.336 MB / 2.154 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.034e-05/6.287, allocations: 70.39 kB / 2.154 GB, free: 32.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005924/6.293, allocations: 294 kB / 2.154 GB, free: 32.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/6.295, allocations: 198.6 kB / 2.154 GB, free: 32.9 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001595/6.296, allocations: 219.2 kB / 2.154 GB, free: 32.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/6.297, allocations: 369 kB / 2.155 GB, free: 32.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03348/6.331, allocations: 8.214 MB / 2.163 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/6.331, allocations: 43.45 kB / 2.163 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/6.331, allocations: 1.594 kB / 2.163 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02911/6.36, allocations: 6.976 MB / 2.169 GB, free: 32.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05142/6.412, allocations: 17.55 MB / 2.187 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/6.412, allocations: 14.94 kB / 2.187 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03617/6.448, allocations: 3.487 MB / 2.19 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/6.448, allocations: 36.47 kB / 2.19 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/6.449, allocations: 74.58 kB / 2.19 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/6.462, allocations: 5.371 MB / 2.195 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.982e-05/6.462, allocations: 27.78 kB / 2.195 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03657/6.498, allocations: 12.47 MB / 2.208 GB, free: 23.88 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04005/6.538, allocations: 15.91 MB / 2.223 GB, free: 20.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003713/6.542, allocations: 0.9393 MB / 2.224 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/6.544, allocations: 41.88 kB / 2.224 GB, free: 20.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004379/6.548, allocations: 194.6 kB / 2.224 GB, free: 20.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/6.549, allocations: 256.5 kB / 2.225 GB, free: 20.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/6.549, allocations: 172.5 kB / 2.225 GB, free: 20.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.002616/6.552, allocations: 1.614 MB / 2.226 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01498/6.567, allocations: 2.846 MB / 2.229 GB, free: 19.86 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004747/6.571, allocations: 1.768 MB / 2.231 GB, free: 19.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.06952/6.641, allocations: 11.28 MB / 2.242 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.468e-05/6.641, allocations: 8.375 kB / 2.242 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.05863/6.7, allocations: 6.263 MB / 2.248 GB, free: 19.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008492/6.708, allocations: 1.282 MB / 2.249 GB, free: 19.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/6.733, allocations: 9.055 MB / 2.258 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006639/6.74, allocations: 3.647 MB / 2.262 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of SimCode: time 1.423e-06/6.74, allocations: 0 / 2.262 GB, free: 12.82 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)