Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.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/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/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.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir") [: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.003012/0.003012, allocations: 179.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6642/0.6642, allocations: 130.6 MB / 138.5 MB, free: 2.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 391.4 MB, free: 13.1 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.001063/0.001063, allocations: 90.22 kB / 473.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.464e-06, allocations: 0 / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1998, allocations: 81.59 MB / 0.6276 GB, free: 18.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5348/0.7347, allocations: 111 MB / 0.736 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.7349, allocations: 72.58 kB / 0.7361 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006528/0.7415, allocations: 2.064 MB / 0.7381 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7415, allocations: 3.875 kB / 0.7381 GB, free: 11.37 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004205/0.7419, allocations: 374.2 kB / 0.7385 GB, free: 27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.742, allocations: 11.62 kB / 0.7385 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.742, allocations: 7.781 kB / 0.7385 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7422, allocations: 171.4 kB / 0.7386 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.7423, allocations: 29.58 kB / 0.7387 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.7423, allocations: 1.406 kB / 0.7387 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.417e-05/0.7424, allocations: 26.47 kB / 0.7387 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.7425, allocations: 53.05 kB / 0.7387 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.7425, allocations: 0 / 0.7387 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.7425, allocations: 3.938 kB / 0.7387 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.7425, allocations: 4 kB / 0.7388 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.743, allocations: 282.4 kB / 0.739 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.7431, allocations: 36.8 kB / 0.7391 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.7431, allocations: 15.42 kB / 0.7391 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.7431, allocations: 0 / 0.7391 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.7432, allocations: 32.02 kB / 0.7391 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7432, allocations: 3.938 kB / 0.7391 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001525/0.7434, allocations: 53.64 kB / 0.7392 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.7434, allocations: 53.98 kB / 0.7392 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.7435, allocations: 106.4 kB / 0.7393 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.7435, allocations: 25.7 kB / 0.7393 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.7436, allocations: 92.88 kB / 0.7394 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.7436, allocations: 9.438 kB / 0.7394 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.7436, allocations: 0 / 0.7394 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.7437, allocations: 323.8 kB / 0.7397 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.7438, allocations: 7.375 kB / 0.7397 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.7438, allocations: 20.5 kB / 0.7398 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.7438, allocations: 13.3 kB / 0.7398 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7438, allocations: 3.938 kB / 0.7398 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.009e-05/0.7439, allocations: 59.45 kB / 0.7398 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7439, allocations: 10.44 kB / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.744, allocations: 0 / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.744, allocations: 0 / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7441, allocations: 18.73 kB / 0.7399 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7441, allocations: 9.453 kB / 0.7399 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.7442, allocations: 5.562 kB / 0.7399 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.7442, allocations: 7.438 kB / 0.7399 GB, free: 25.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.898e-05/0.7443, allocations: 104.9 kB / 0.74 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.7443, allocations: 12.3 kB / 0.74 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.7443, allocations: 4 kB / 0.74 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.7443, allocations: 4 kB / 0.74 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7444, allocations: 3.688 kB / 0.74 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7444, allocations: 0 / 0.74 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.7445, allocations: 152 kB / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7445, allocations: 0 / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.7446, allocations: 14.36 kB / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7446, allocations: 0 / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7446, allocations: 1.453 kB / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7446, allocations: 4 kB / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7446, allocations: 3.656 kB / 0.7402 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001145/0.7448, allocations: 147.6 kB / 0.7403 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.7448, allocations: 82.75 kB / 0.7404 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7448, allocations: 3.344 kB / 0.7404 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.745, allocations: 19.27 kB / 0.7404 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.745, allocations: 1.594 kB / 0.7404 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.7451, allocations: 9.469 kB / 0.7404 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.134e-05/0.7451, allocations: 90.17 kB / 0.7405 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000216/0.7453, allocations: 13.53 kB / 0.7405 GB, free: 25.08 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 (4): * Single equations (assignments): 4 * 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.0001081/0.7454, allocations: 94.69 kB / 0.7406 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.7455, allocations: 35.39 kB / 0.7407 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7455, allocations: 0 / 0.7407 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.7456, allocations: 14.22 kB / 0.7407 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.7458, allocations: 3.906 kB / 0.7407 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.746, allocations: 80.23 kB / 0.7407 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.7463, allocations: 0.6949 MB / 0.7414 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/0.7463, allocations: 11.47 kB / 0.7414 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.002552/0.7489, allocations: 0.7396 MB / 0.7422 GB, free: 24.14 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)