Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.00132/0.001321, allocations: 192.1 kB / 7.807 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.4603/0.4603, allocations: 90.85 MB / 99.07 MB, free: 14.97 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.288/1.288, allocations: 221.4 MB / 342.7 MB, free: 5.227 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.0009606/0.0009607, allocations: 98.91 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1648/0.1658, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.5261, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6304/1.157, allocations: 386.1 MB / 0.93 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.157, allocations: 84.33 kB / 0.9301 GB, free: 5.238 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 2.262/3.418, allocations: 0.6518 GB / 1.582 GB, free: 74.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/3.419, allocations: 11.66 kB / 1.582 GB, free: 74.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/3.422, allocations: 0.5396 MB / 1.582 GB, free: 74.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/3.426, allocations: 1.324 MB / 1.584 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/3.426, allocations: 105.7 kB / 1.584 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/3.426, allocations: 47.5 kB / 1.584 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00154/3.428, allocations: 0.6501 MB / 1.585 GB, free: 72.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/3.43, allocations: 0.7698 MB / 1.585 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/3.43, allocations: 0 / 1.585 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/3.43, allocations: 7.609 kB / 1.585 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/3.43, allocations: 37.7 kB / 1.585 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007051/3.437, allocations: 4.699 MB / 1.59 GB, free: 68.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/3.438, allocations: 0.5542 MB / 1.59 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/3.438, allocations: 279.3 kB / 1.591 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/3.439, allocations: 0.855 MB / 1.592 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/3.439, allocations: 42.16 kB / 1.592 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/3.439, allocations: 0 / 1.592 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53): time 0.003347/3.442, allocations: 0.9502 MB / 1.593 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/3.442, allocations: 58.94 kB / 1.593 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/3.443, allocations: 0.6835 MB / 1.593 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/3.443, allocations: 29.7 kB / 1.593 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/3.443, allocations: 363.7 kB / 1.594 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/3.444, allocations: 177.3 kB / 1.594 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/3.444, allocations: 0 / 1.594 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/3.444, allocations: 328.9 kB / 1.594 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/3.444, allocations: 213.2 kB / 1.594 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/3.444, allocations: 401.8 kB / 1.595 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/3.445, allocations: 277.7 kB / 1.595 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/3.445, allocations: 0 / 1.595 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001501/3.447, allocations: 0.7625 MB / 1.596 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/3.447, allocations: 0.9687 MB / 1.597 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/3.447, allocations: 0 / 1.597 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008296/3.448, allocations: 302 kB / 1.597 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/3.448, allocations: 126.8 kB / 1.597 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/3.45, allocations: 0.9597 MB / 1.598 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/3.451, allocations: 158.2 kB / 1.598 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/3.451, allocations: 31.98 kB / 1.598 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/3.451, allocations: 7.938 kB / 1.598 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/3.452, allocations: 0.6344 MB / 1.599 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/3.452, allocations: 4 kB / 1.599 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007303/3.453, allocations: 294.2 kB / 1.599 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/3.454, allocations: 128.9 kB / 1.599 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/3.455, allocations: 0.9442 MB / 1.6 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/3.456, allocations: 157.1 kB / 1.6 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/3.456, allocations: 31.97 kB / 1.6 GB, free: 58.38 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.con.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002614/3.456, allocations: 122.4 kB / 1.6 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/3.456, allocations: 98.78 kB / 1.601 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/3.46, allocations: 1.091 MB / 1.602 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/3.46, allocations: 8 kB / 1.602 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/3.46, allocations: 4 kB / 1.602 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/3.46, allocations: 3.984 kB / 1.602 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/3.463, allocations: 1.9 MB / 1.603 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/3.463, allocations: 0 / 1.603 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/3.464, allocations: 105.2 kB / 1.604 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/3.465, allocations: 322.6 kB / 1.604 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/3.465, allocations: 10.23 kB / 1.604 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/3.466, allocations: 0.9911 MB / 1.605 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/3.466, allocations: 4 kB / 1.605 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003843/3.47, allocations: 1.37 MB / 1.606 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004008/3.474, allocations: 1.789 MB / 1.608 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/3.474, allocations: 279.6 kB / 1.608 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/3.474, allocations: 7.938 kB / 1.608 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/3.475, allocations: 126 kB / 1.608 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/3.475, allocations: 38.67 kB / 1.608 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.619e-05/3.475, allocations: 23.98 kB / 1.608 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007031/3.476, allocations: 0.532 MB / 1.609 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003248/3.479, allocations: 0.8031 MB / 1.61 GB, free: 48.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/3.481, allocations: 0.6784 MB / 1.61 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001713/3.482, allocations: 0.9344 MB / 1.611 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/3.482, allocations: 0 / 1.611 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/3.483, allocations: 348.3 kB / 1.612 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/3.485, allocations: 401.6 kB / 1.612 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/3.488, allocations: 1.403 MB / 1.613 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/3.489, allocations: 1.18 MB / 1.615 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/3.489, allocations: 0 / 1.615 GB, free: 43.82 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)