Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.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: translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") [: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.00183/0.00183, allocations: 184.5 kB / 7.463 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.6097/0.6097, 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.16/1.16, 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.0008273/0.0008273, allocations: 98.81 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.081e-06, allocations: 2.781 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 82.29 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.4131, allocations: 112.5 MB / 0.7431 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001721/0.4133, allocations: 73.94 kB / 0.7431 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006755/0.42, allocations: 2.258 MB / 0.7453 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4201, allocations: 0 / 0.7453 GB, free: 10.65 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004193/0.4205, allocations: 403.3 kB / 0.7457 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.4205, allocations: 14.42 kB / 0.7457 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.4206, allocations: 3.906 kB / 0.7457 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4207, allocations: 166.9 kB / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.4207, allocations: 3.875 kB / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4207, allocations: 0 / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.544e-05/0.4208, allocations: 23.67 kB / 0.7459 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.4209, allocations: 55.41 kB / 0.746 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.4209, allocations: 0 / 0.746 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.4209, allocations: 0 / 0.746 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4209, allocations: 5.859 kB / 0.746 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.4212, allocations: 255.7 kB / 0.7462 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.004e-05/0.4212, allocations: 28.8 kB / 0.7463 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.4213, allocations: 15.8 kB / 0.7463 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.4214, allocations: 97.84 kB / 0.7464 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4215, allocations: 34.5 kB / 0.7464 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4215, allocations: 0 / 0.7464 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003124/0.4218, allocations: 84.41 kB / 0.7465 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.4218, allocations: 52.06 kB / 0.7465 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.644e-05/0.4219, allocations: 105.5 kB / 0.7466 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.4219, allocations: 25.7 kB / 0.7467 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.4219, allocations: 90.58 kB / 0.7467 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.422, allocations: 12.53 kB / 0.7468 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.422, allocations: 3.969 kB / 0.7468 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.422, allocations: 312.4 kB / 0.7471 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.4221, allocations: 11.31 kB / 0.7471 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.4221, allocations: 11.67 kB / 0.7471 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4223, allocations: 39 kB / 0.7471 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4223, allocations: 3.938 kB / 0.7471 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002443/0.4225, allocations: 81.39 kB / 0.7472 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.4226, allocations: 11.5 kB / 0.7472 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4226, allocations: 1.266 kB / 0.7472 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.4226, allocations: 0 / 0.7472 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4227, allocations: 20.23 kB / 0.7472 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4227, allocations: 0.7969 kB / 0.7472 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.4228, allocations: 24.12 kB / 0.7473 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.4228, allocations: 0.6875 kB / 0.7473 GB, free: 24.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.394e-05/0.4229, allocations: 105.4 kB / 0.7474 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.4229, allocations: 7.875 kB / 0.7474 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4232, allocations: 91.02 kB / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4232, allocations: 0 / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4232, allocations: 3.906 kB / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4232, allocations: 0 / 0.7475 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.4233, allocations: 147.5 kB / 0.7476 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4233, allocations: 0 / 0.7476 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.4235, allocations: 28.94 kB / 0.7476 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4235, allocations: 0 / 0.7476 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4235, allocations: 0 / 0.7476 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4235, allocations: 4 kB / 0.7476 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4235, allocations: 0 / 0.7476 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002604/0.4237, allocations: 176.1 kB / 0.7478 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.4238, allocations: 85.02 kB / 0.7479 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.4238, allocations: 1.172 kB / 0.7479 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4239, allocations: 23.52 kB / 0.7479 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.424, allocations: 2.859 kB / 0.7479 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.424, allocations: 7.781 kB / 0.7479 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.137e-05/0.424, allocations: 88.2 kB / 0.748 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002199/0.4242, allocations: 36.25 kB / 0.748 GB, free: 24.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.4244, allocations: 136.4 kB / 0.7482 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.067e-05/0.4245, allocations: 23.81 kB / 0.7482 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4245, allocations: 0 / 0.7482 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.4245, allocations: 22.44 kB / 0.7482 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.4247, allocations: 15.61 kB / 0.7482 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.4249, allocations: 73.98 kB / 0.7483 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4251, allocations: 0.703 MB / 0.749 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.4251, allocations: 0 / 0.749 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.002774/0.4279, allocations: 1.184 MB / 0.7501 GB, free: 23.27 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)