Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="IBPSA_latest_IBPSA_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.00142/0.00142, allocations: 187.8 kB / 7.802 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.468/0.468, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 221.4 MB / 342.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009563, allocations: 90.94 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.187/0.188, allocations: 78.45 MB / 494 MB, free: 7.957 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.6154, allocations: 72.31 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.632, allocations: 432.9 MB / 0.9758 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.633, allocations: 93.12 kB / 0.9759 GB, free: 210.3 MB / 0.6042 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.505/5.138, allocations: 0.9573 GB / 1.933 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/5.138, allocations: 7.719 kB / 1.933 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004653/5.143, allocations: 0.5898 MB / 1.934 GB, free: 41.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/5.155, allocations: 4.073 MB / 1.938 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/5.156, allocations: 122.8 kB / 1.938 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/5.158, allocations: 231.8 kB / 1.938 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01072/5.168, allocations: 5.095 MB / 1.943 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01308/5.181, allocations: 5.524 MB / 1.948 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/5.182, allocations: 11.88 kB / 1.948 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005871/5.182, allocations: 10.34 kB / 1.948 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003961/5.183, allocations: 409.8 kB / 1.949 GB, free: 40.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03977/5.222, allocations: 25.03 MB / 1.973 GB, free: 26.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/5.23, allocations: 3.966 MB / 1.977 GB, free: 26.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003179/5.233, allocations: 2.302 MB / 1.979 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02333/5.256, allocations: 12.41 MB / 1.991 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003526/5.26, allocations: 2.139 MB / 1.994 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=310): time 5.53e-06/5.26, allocations: 0 / 1.994 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=334): time 0.09654/5.356, allocations: 18.68 MB / 2.012 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/5.356, allocations: 111.8 kB / 2.012 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/5.36, allocations: 2.223 MB / 2.014 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/5.361, allocations: 29.08 kB / 2.014 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/5.363, allocations: 1.523 MB / 2.016 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/5.365, allocations: 1.111 MB / 2.017 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/5.365, allocations: 0 / 2.017 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002041/5.365, allocations: 473.5 kB / 2.017 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/5.368, allocations: 1.883 MB / 2.019 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/5.372, allocations: 2.904 MB / 2.022 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02719/5.399, allocations: 5.297 MB / 2.027 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.327e-05/5.399, allocations: 11.03 kB / 2.027 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03449/5.433, allocations: 8.097 MB / 2.035 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.004464/5.438, allocations: 11.92 MB / 2.047 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-05/5.438, allocations: 26.75 kB / 2.047 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/5.438, allocations: 53.44 kB / 2.047 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03888/5.477, allocations: 3.86 MB / 2.05 GB, free: 19.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/5.491, allocations: 5.507 MB / 2.056 GB, free: 16.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006718/5.498, allocations: 294.1 kB / 2.056 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001555/5.499, allocations: 202.7 kB / 2.056 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/5.499, allocations: 3.75 kB / 2.056 GB, free: 16.34 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02422/5.524, allocations: 6.147 MB / 2.062 GB, free: 16.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.862e-05/5.524, allocations: 25.97 kB / 2.062 GB, free: 16.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.906e-05/5.524, allocations: 54.59 kB / 2.062 GB, free: 16.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007217/5.531, allocations: 1.341 MB / 2.064 GB, free: 16.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001123/5.531, allocations: 65.31 kB / 2.064 GB, free: 16.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0058/5.537, allocations: 284.4 kB / 2.064 GB, free: 16.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/5.538, allocations: 201.2 kB / 2.064 GB, free: 16.24 MB / 0.6511 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.001398/5.539, allocations: 219.1 kB / 2.064 GB, free: 16.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/5.541, allocations: 369.7 kB / 2.065 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03322/5.574, allocations: 8.221 MB / 2.073 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/5.574, allocations: 44.34 kB / 2.073 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/5.574, allocations: 0 / 2.073 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02964/5.604, allocations: 6.981 MB / 2.08 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0545/5.658, allocations: 17.55 MB / 2.097 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.086e-05/5.658, allocations: 17.47 kB / 2.097 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03686/5.695, allocations: 3.49 MB / 2.1 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.451e-05/5.695, allocations: 32.31 kB / 2.1 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009872/5.696, allocations: 70.59 kB / 2.1 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/5.709, allocations: 5.367 MB / 2.106 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.811e-05/5.709, allocations: 25.91 kB / 2.106 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03653/5.746, allocations: 12.48 MB / 2.118 GB, free: 18.81 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04238/5.788, allocations: 15.91 MB / 2.133 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003397/5.792, allocations: 0.9393 MB / 2.134 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/5.793, allocations: 39.17 kB / 2.134 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003768/5.797, allocations: 197.8 kB / 2.134 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/5.797, allocations: 255.1 kB / 2.135 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004921/5.798, allocations: 173.7 kB / 2.135 GB, free: 4.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002845/5.8, allocations: 1.609 MB / 2.136 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01334/5.814, allocations: 2.851 MB / 2.139 GB, free: 336 kB / 0.6667 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.004492/5.818, allocations: 1.768 MB / 2.141 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.07053/5.889, allocations: 11.29 MB / 2.152 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.512e-05/5.889, allocations: 5 kB / 2.152 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.05744/5.946, allocations: 6.264 MB / 2.158 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3148/6.261, allocations: 1.344 MB / 2.159 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/6.281, allocations: 9.052 MB / 2.168 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004412/6.285, allocations: 3.649 MB / 2.172 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.674e-06/6.285, allocations: 0 / 2.172 GB, free: 126.6 MB / 0.6823 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)