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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006124/0.006124, allocations: 96.84 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 204.5 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9314/0.9314, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4472/0.4485, allocations: 80.91 MB / 0.6641 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002979/0.4516, allocations: 1.515 MB / 0.6656 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.4519, allocations: 129.8 kB / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.528e-05/0.452, allocations: 1.375 kB / 0.6657 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.452, allocations: 3.938 kB / 0.6657 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.245e-05/0.4521, allocations: 5.125 kB / 0.6657 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.4525, allocations: 72.17 kB / 0.6658 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.4526, allocations: 57.47 kB / 0.6659 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4527, allocations: 23.19 kB / 0.6659 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.041e-05/0.4528, allocations: 27.66 kB / 0.6659 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.4529, allocations: 21.77 kB / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.4529, allocations: 5 kB / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.4529, allocations: 4.906 kB / 0.6659 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.453, allocations: 14.98 kB / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.453, allocations: 25.52 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4532, allocations: 60.86 kB / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4532, allocations: 0 / 0.666 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4532, allocations: 5.375 kB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4532, allocations: 0 / 0.666 GB, free: 5.801 MB / 0.4981 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.0005614/0.4538, allocations: 372.2 kB / 0.6664 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.4538, allocations: 8.969 kB / 0.6664 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.4539, allocations: 40.14 kB / 0.6664 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.4539, allocations: 3.781 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.4541, allocations: 167.2 kB / 0.6666 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.4541, allocations: 34.58 kB / 0.6666 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.4542, allocations: 10.78 kB / 0.6667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.4544, allocations: 72.97 kB / 0.6667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4544, allocations: 0 / 0.6667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4544, allocations: 1.344 kB / 0.6667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.4544, allocations: 1.375 kB / 0.6667 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.4546, allocations: 57.34 kB / 0.6668 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.4552, allocations: 313.5 kB / 0.6671 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4553, allocations: 52.64 kB / 0.6671 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.663e-05/0.4555, allocations: 39.86 kB / 0.6672 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4555, allocations: 0 / 0.6672 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.4555, allocations: 31.84 kB / 0.6672 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.4555, allocations: 0 / 0.6672 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0003717/0.4559, allocations: 94.52 kB / 0.6673 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.4559, allocations: 55.41 kB / 0.6673 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.456, allocations: 112.5 kB / 0.6675 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.456, allocations: 25.7 kB / 0.6675 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.4561, allocations: 98.95 kB / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.4561, allocations: 9.062 kB / 0.6676 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.4561, allocations: 17.31 kB / 0.6676 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.4562, allocations: 327.8 kB / 0.6679 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4563, allocations: 19.89 kB / 0.6679 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-05/0.4564, allocations: 34.95 kB / 0.668 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4566, allocations: 55.73 kB / 0.668 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4566, allocations: 0 / 0.668 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000228/0.4569, allocations: 87.11 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4569, allocations: 9.438 kB / 0.6681 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4569, allocations: 0 / 0.6681 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4569, allocations: 1.531 kB / 0.6681 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.457, allocations: 16.77 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.457, allocations: 1.281 kB / 0.6681 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.4571, allocations: 16.36 kB / 0.6681 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.4571, allocations: 1 kB / 0.6681 GB, free: 3.738 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.4572, allocations: 117.7 kB / 0.6683 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.4572, allocations: 5.594 kB / 0.6683 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.4573, allocations: 12.91 kB / 0.6683 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4573, allocations: 1 kB / 0.6683 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4573, allocations: 3.938 kB / 0.6683 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4573, allocations: 5.047 kB / 0.6683 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.4574, allocations: 174.9 kB / 0.6684 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4575, allocations: 1.594 kB / 0.6684 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.4575, allocations: 11.61 kB / 0.6685 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4575, allocations: 0 / 0.6685 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4575, allocations: 1.969 kB / 0.6685 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4576, allocations: 4 kB / 0.6685 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4576, allocations: 0 / 0.6685 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.4578, allocations: 181.3 kB / 0.6686 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.4579, allocations: 79.7 kB / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.4579, allocations: 0 / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.458, allocations: 9.828 kB / 0.6687 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.4581, allocations: 10.44 kB / 0.6687 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4581, allocations: 13.3 kB / 0.6687 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.714e-05/0.4582, allocations: 81.53 kB / 0.6688 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4582, allocations: 1.031 kB / 0.6688 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002327/0.4584, allocations: 15.14 kB / 0.6688 GB, free: 3.008 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004462/0.4588, allocations: 0.7094 MB / 0.6695 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.4591, allocations: 52.36 kB / 0.6696 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4591, allocations: 0 / 0.6696 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.4592, allocations: 23.58 kB / 0.6696 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.4595, allocations: 9.828 kB / 0.6696 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.4607, allocations: 1.331 MB / 0.6709 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.4609, allocations: 0.6917 MB / 0.6716 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.206e-05/0.4609, allocations: 12.3 kB / 0.6716 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.461, allocations: 12.5 kB / 0.6716 GB, free: 276 kB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.461, allocations: 1.531 kB / 0.6716 GB, free: 276 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.4799, allocations: 1.771 MB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.584/8.064, allocations: 12.84 kB / 0.6734 GB, free: 15.29 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)