Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7254/0.7254, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.476/1.476, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0009072/0.0009073, allocations: 92.31 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.987e-05, allocations: 2.75 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1678, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6064/0.7743, allocations: 112 MB / 0.7499 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.7746, allocations: 71.8 kB / 0.75 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006392/0.781, allocations: 2.402 MB / 0.7523 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.781, allocations: 0 / 0.7523 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.781, allocations: 0 / 0.7523 GB, free: 27.63 MB / 0.5105 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.000369/0.7814, allocations: 364.6 kB / 0.7527 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7815, allocations: 18.3 kB / 0.7527 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.7815, allocations: 30.56 kB / 0.7527 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.7815, allocations: 3.875 kB / 0.7527 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.7816, allocations: 178.7 kB / 0.7529 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.7817, allocations: 36.31 kB / 0.7529 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.7817, allocations: 3.844 kB / 0.7529 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.7819, allocations: 55.14 kB / 0.753 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.7819, allocations: 0 / 0.753 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7819, allocations: 0 / 0.753 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7819, allocations: 7.359 kB / 0.753 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.377e-05/0.782, allocations: 26.62 kB / 0.753 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.7825, allocations: 301.7 kB / 0.7533 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.7825, allocations: 45.31 kB / 0.7533 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.7826, allocations: 23.14 kB / 0.7534 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.7826, allocations: 0 / 0.7534 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.7826, allocations: 30.56 kB / 0.7534 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.7826, allocations: 0 / 0.7534 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001405/0.7828, allocations: 53.8 kB / 0.7534 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.7828, allocations: 59.23 kB / 0.7535 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.7829, allocations: 103.3 kB / 0.7536 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7829, allocations: 29.7 kB / 0.7536 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.783, allocations: 90.28 kB / 0.7537 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.783, allocations: 11.75 kB / 0.7537 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.783, allocations: 0 / 0.7537 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7831, allocations: 320.7 kB / 0.754 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.122e-05/0.7831, allocations: 7.531 kB / 0.754 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.7832, allocations: 29.22 kB / 0.7541 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.7832, allocations: 17.67 kB / 0.7541 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7832, allocations: 0 / 0.7541 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.301e-05/0.7833, allocations: 61.42 kB / 0.7541 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.7833, allocations: 8.625 kB / 0.7541 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7833, allocations: 0 / 0.7541 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.7833, allocations: 0 / 0.7541 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.7835, allocations: 21.97 kB / 0.7542 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7835, allocations: 3.047 kB / 0.7542 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.647e-05/0.7835, allocations: 15.8 kB / 0.7542 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.7835, allocations: 8.125 kB / 0.7542 GB, free: 25.89 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 6.641e-05/0.7836, allocations: 106.6 kB / 0.7543 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.7836, allocations: 3.844 kB / 0.7543 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.7837, allocations: 7.594 kB / 0.7543 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.7837, allocations: 0 / 0.7543 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.7837, allocations: 0 / 0.7543 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7837, allocations: 0 / 0.7543 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.7838, allocations: 183.3 kB / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7839, allocations: 4 kB / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.7839, allocations: 17.95 kB / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.784, allocations: 0 / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.784, allocations: 0 / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.784, allocations: 0 / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.784, allocations: 0 / 0.7545 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.7841, allocations: 159 kB / 0.7547 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.7842, allocations: 85.02 kB / 0.7547 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.7842, allocations: 3.812 kB / 0.7547 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.7843, allocations: 12.09 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.7844, allocations: 6.875 kB / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.7844, allocations: 144 / 0.7548 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.7844, allocations: 90.42 kB / 0.7548 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7845, allocations: 0 / 0.7548 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000202/0.7847, allocations: 15.66 kB / 0.7549 GB, free: 25.25 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.0003727/0.785, allocations: 0.6902 MB / 0.7555 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.307e-05/0.7851, allocations: 26.53 kB / 0.7556 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7851, allocations: 0 / 0.7556 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.7852, allocations: 15.31 kB / 0.7556 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.7854, allocations: 13.69 kB / 0.7556 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.7857, allocations: 112.8 kB / 0.7557 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.7859, allocations: 0.6819 MB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.786, allocations: 4.094 kB / 0.7564 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.786, allocations: 17.45 kB / 0.7564 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.786, allocations: 4 kB / 0.7564 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.797, allocations: 1.468 MB / 0.7578 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001221/0.7971, allocations: 157.7 kB / 0.758 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.267, allocations: 0 / 0.758 GB, free: 23.36 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)