Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IDEAS_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.004939/0.004939, allocations: 183.2 kB / 7.459 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.7917/0.7917, 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.617/1.617, allocations: 221.3 MB / 395 MB, free: 10.18 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.001285/0.001285, allocations: 102.2 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5362/0.5375, allocations: 88.44 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.7557, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/2.053, allocations: 442.7 MB / 1.066 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/2.053, allocations: 95.94 kB / 1.066 GB, free: 191.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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 3.546/5.599, allocations: 0.9573 GB / 2.023 GB, free: 6.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/5.599, allocations: 8 kB / 2.023 GB, free: 6.652 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005659/5.604, allocations: 0.5873 MB / 2.024 GB, free: 6.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/5.619, allocations: 4.072 MB / 2.028 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/5.619, allocations: 123.9 kB / 2.028 GB, free: 1.801 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/5.622, allocations: 231.9 kB / 2.028 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01385/5.636, allocations: 5.091 MB / 2.033 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/5.654, allocations: 5.523 MB / 2.038 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003045/5.654, allocations: 19.78 kB / 2.038 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002122/5.657, allocations: 12 kB / 2.038 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006169/5.657, allocations: 403.1 kB / 2.039 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5071/6.164, allocations: 25.02 MB / 2.063 GB, free: 99.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006733/6.171, allocations: 3.967 MB / 2.067 GB, free: 99.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003436/6.175, allocations: 2.297 MB / 2.069 GB, free: 99.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02971/6.204, allocations: 12.42 MB / 2.081 GB, free: 94.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004823/6.209, allocations: 2.144 MB / 2.083 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=310): time 6.282e-06/6.209, allocations: 0 / 2.083 GB, free: 94.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=334): time 0.1038/6.313, allocations: 18.67 MB / 2.102 GB, free: 93.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/6.313, allocations: 117.2 kB / 2.102 GB, free: 93.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005771/6.319, allocations: 2.215 MB / 2.104 GB, free: 92.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001653/6.321, allocations: 33.83 kB / 2.104 GB, free: 92.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/6.323, allocations: 1.515 MB / 2.105 GB, free: 92.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002554/6.325, allocations: 1.117 MB / 2.107 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/6.327, allocations: 0.8438 kB / 2.107 GB, free: 91.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00052/6.327, allocations: 472.6 kB / 2.107 GB, free: 91.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004245/6.332, allocations: 1.882 MB / 2.109 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005083/6.337, allocations: 2.916 MB / 2.112 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03096/6.368, allocations: 5.286 MB / 2.117 GB, free: 90.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.023e-05/6.368, allocations: 6.969 kB / 2.117 GB, free: 90.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03786/6.406, allocations: 8.099 MB / 2.125 GB, free: 89.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003054/6.409, allocations: 11.92 MB / 2.136 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.666e-05/6.409, allocations: 28.12 kB / 2.136 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/6.409, allocations: 52.41 kB / 2.137 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03906/6.448, allocations: 3.862 MB / 2.14 GB, free: 77.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/6.461, allocations: 5.504 MB / 2.146 GB, free: 73.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00727/6.468, allocations: 297.2 kB / 2.146 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/6.471, allocations: 206.3 kB / 2.146 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/6.471, allocations: 3.688 kB / 2.146 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02758/6.498, allocations: 6.141 MB / 2.152 GB, free: 73.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/6.499, allocations: 29.59 kB / 2.152 GB, free: 73.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.25e-05/6.499, allocations: 49.38 kB / 2.152 GB, free: 73.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00793/6.507, allocations: 1.343 MB / 2.154 GB, free: 73.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001188/6.507, allocations: 63.12 kB / 2.154 GB, free: 73.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/6.513, allocations: 288.5 kB / 2.154 GB, free: 73.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/6.515, allocations: 201.8 kB / 2.154 GB, free: 73.84 MB / 0.7136 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.002736/6.518, allocations: 217.9 kB / 2.154 GB, free: 73.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/6.52, allocations: 369.4 kB / 2.155 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03924/6.559, allocations: 8.229 MB / 2.163 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.643e-05/6.559, allocations: 40.38 kB / 2.163 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-05/6.559, allocations: 0 / 2.163 GB, free: 73.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03388/6.593, allocations: 6.977 MB / 2.169 GB, free: 73.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05843/6.652, allocations: 17.55 MB / 2.187 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001059/6.652, allocations: 15.44 kB / 2.187 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03783/6.69, allocations: 3.493 MB / 2.19 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/6.69, allocations: 29.84 kB / 2.19 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001593/6.692, allocations: 72.91 kB / 2.19 GB, free: 71.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/6.704, allocations: 5.365 MB / 2.195 GB, free: 67.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.604e-05/6.705, allocations: 28.73 kB / 2.195 GB, free: 67.96 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04327/6.748, allocations: 12.47 MB / 2.208 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04787/6.796, allocations: 15.92 MB / 2.223 GB, free: 61.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004271/6.8, allocations: 0.9416 MB / 2.224 GB, free: 60.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002192/6.802, allocations: 32.94 kB / 2.224 GB, free: 60.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00545/6.808, allocations: 194.9 kB / 2.224 GB, free: 60.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001131/6.809, allocations: 258.9 kB / 2.225 GB, free: 60.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001149/6.81, allocations: 171.8 kB / 2.225 GB, free: 60.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.004639/6.815, allocations: 1.609 MB / 2.226 GB, free: 60.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0196/6.834, allocations: 2.85 MB / 2.229 GB, free: 60.8 MB / 0.7136 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.007545/6.842, allocations: 1.764 MB / 2.231 GB, free: 60.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.07697/6.919, allocations: 11.29 MB / 2.242 GB, free: 60.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.911e-05/6.919, allocations: 9.125 kB / 2.242 GB, free: 60.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.05814/6.977, allocations: 6.258 MB / 2.248 GB, free: 60.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/6.989, allocations: 1.27 MB / 2.249 GB, free: 60.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/7.025, allocations: 9.057 MB / 2.258 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01027/7.036, allocations: 3.645 MB / 2.262 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of SimCode: time 1.482e-06/7.036, allocations: 0 / 2.262 GB, free: 56.92 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)