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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IDEAS_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.0009489/0.0009488, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009528/0.0009529, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7992/0.7992, allocations: 132.2 MB / 422.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 60 kB / 0.5013 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3688, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002274/0.3711, allocations: 1.561 MB / 0.5812 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.3714, allocations: 132.7 kB / 0.5813 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.3715, allocations: 1.25 kB / 0.5813 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.3715, allocations: 4.547 kB / 0.5813 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.3716, allocations: 5.484 kB / 0.5813 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.3718, allocations: 66.59 kB / 0.5814 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.3719, allocations: 61.58 kB / 0.5815 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3721, allocations: 17.94 kB / 0.5815 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.3721, allocations: 27.8 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.3722, allocations: 27.98 kB / 0.5815 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3722, allocations: 4.438 kB / 0.5815 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.3722, allocations: 5.344 kB / 0.5815 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.3722, allocations: 14.61 kB / 0.5815 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.3723, allocations: 25.94 kB / 0.5816 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.531e-05/0.3724, allocations: 53.09 kB / 0.5816 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3724, allocations: 0 / 0.5816 GB, free: 3.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3724, allocations: 0 / 0.5816 GB, free: 3.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3724, allocations: 0 / 0.5816 GB, free: 3.242 MB / 430.1 MB 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.0004025/0.3728, allocations: 378.5 kB / 0.582 GB, free: 2.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3729, allocations: 8.781 kB / 0.582 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.3729, allocations: 41.19 kB / 0.582 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.3729, allocations: 5.25 kB / 0.582 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.954e-05/0.373, allocations: 175.4 kB / 0.5822 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.3731, allocations: 30.98 kB / 0.5822 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3731, allocations: 11.59 kB / 0.5822 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3733, allocations: 77.48 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.453e-06/0.3733, allocations: 0 / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3733, allocations: 1.344 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3733, allocations: 0.75 kB / 0.5823 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3735, allocations: 45.03 kB / 0.5824 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.374, allocations: 322.5 kB / 0.5827 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3741, allocations: 48.16 kB / 0.5827 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.3742, allocations: 29.02 kB / 0.5827 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3742, allocations: 5.078 kB / 0.5827 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.3743, allocations: 40.39 kB / 0.5828 GB, free: 2.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3743, allocations: 0 / 0.5828 GB, free: 2.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003183/0.3746, allocations: 99.02 kB / 0.5829 GB, free: 2.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.716e-05/0.3746, allocations: 52.59 kB / 0.5829 GB, free: 2.016 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.3747, allocations: 111.9 kB / 0.583 GB, free: 1.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3747, allocations: 26.45 kB / 0.5831 GB, free: 1.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.3747, allocations: 95.39 kB / 0.5832 GB, free: 1.785 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.3747, allocations: 10.34 kB / 0.5832 GB, free: 1.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.3748, allocations: 19.45 kB / 0.5832 GB, free: 1.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.341e-05/0.3748, allocations: 320.7 kB / 0.5835 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.3749, allocations: 23 kB / 0.5835 GB, free: 1.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.375, allocations: 32.72 kB / 0.5835 GB, free: 1.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3752, allocations: 60.38 kB / 0.5836 GB, free: 1.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3752, allocations: 1.125 kB / 0.5836 GB, free: 1.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001931/0.3754, allocations: 86.36 kB / 0.5837 GB, free: 1.336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3754, allocations: 11.62 kB / 0.5837 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3754, allocations: 0.6562 kB / 0.5837 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3754, allocations: 5.031 kB / 0.5837 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.3755, allocations: 17.48 kB / 0.5837 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3755, allocations: 0.5156 kB / 0.5837 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.3756, allocations: 7.703 kB / 0.5837 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3756, allocations: 1.094 kB / 0.5837 GB, free: 1.324 MB / 430.1 MB 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 4.87e-05/0.3756, allocations: 120.7 kB / 0.5838 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3757, allocations: 6.312 kB / 0.5838 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.3757, allocations: 10.38 kB / 0.5839 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3757, allocations: 5.25 kB / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3757, allocations: 0 / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3757, allocations: 1.422 kB / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.3758, allocations: 175.4 kB / 0.584 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3758, allocations: 0 / 0.584 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.3759, allocations: 12.03 kB / 0.584 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3759, allocations: 0 / 0.584 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3759, allocations: 4.875 kB / 0.584 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.3759, allocations: 0 / 0.584 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3759, allocations: 5.422 kB / 0.584 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3762, allocations: 179 kB / 0.5842 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3762, allocations: 83.08 kB / 0.5843 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.3762, allocations: 1.219 kB / 0.5843 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3763, allocations: 10.27 kB / 0.5843 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.3764, allocations: 7.484 kB / 0.5843 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3764, allocations: 3.375 kB / 0.5843 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.802e-05/0.3764, allocations: 95.78 kB / 0.5844 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3764, allocations: 0 / 0.5844 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.3767, allocations: 7.438 kB / 0.5844 GB, free: 0.6367 MB / 430.1 MB 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.0003978/0.3771, allocations: 0.7105 MB / 0.5851 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3773, allocations: 53.22 kB / 0.5852 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3773, allocations: 1.219 kB / 0.5852 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.3774, allocations: 28.36 kB / 0.5852 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3776, allocations: 8.016 kB / 0.5852 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3789, allocations: 1.341 MB / 0.5865 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.3792, allocations: 0.6815 MB / 0.5872 GB, free: 13.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.3792, allocations: 9.984 kB / 0.5872 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.3793, allocations: 18.34 kB / 0.5872 GB, free: 13.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3793, allocations: 0 / 0.5872 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.873/3.253, allocations: 1.599 MB / 0.5888 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/3.253, allocations: 199.2 kB / 0.589 GB, free: 13.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/5.159, allocations: 4.938 kB / 0.589 GB, free: 13.47 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)