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.001152/0.001152, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001711/0.001711, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7933/0.7933, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4723, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001654/0.4741, allocations: 1.205 MB / 0.5843 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003084/0.4744, allocations: 121.9 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.4744, allocations: 1.312 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.4745, allocations: 5.703 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.4745, allocations: 2.766 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.4749, allocations: 67.52 kB / 0.5845 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.475, allocations: 46.67 kB / 0.5846 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.4751, allocations: 18.08 kB / 0.5846 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.4751, allocations: 22.88 kB / 0.5846 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.4752, allocations: 18.83 kB / 0.5846 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.4752, allocations: 6.469 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.4752, allocations: 3.031 kB / 0.5846 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.4753, allocations: 12.23 kB / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.4753, allocations: 33.34 kB / 0.5847 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.4754, allocations: 30.66 kB / 0.5847 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4754, allocations: 3.938 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4754, allocations: 0.875 kB / 0.5847 GB, free: 2.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.4754, allocations: 0 / 0.5847 GB, free: 2.887 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.0004478/0.4759, allocations: 373.2 kB / 0.5851 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4759, allocations: 9.219 kB / 0.5851 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.476, allocations: 32.11 kB / 0.5851 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.476, allocations: 14.89 kB / 0.5851 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.4761, allocations: 172 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.4762, allocations: 35.28 kB / 0.5853 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.4762, allocations: 1.844 kB / 0.5853 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.4765, allocations: 80.98 kB / 0.5854 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4765, allocations: 0 / 0.5854 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4765, allocations: 4.938 kB / 0.5854 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4765, allocations: 4.922 kB / 0.5854 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.4767, allocations: 58.09 kB / 0.5855 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.4773, allocations: 331.8 kB / 0.5858 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.4775, allocations: 49.61 kB / 0.5858 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4776, allocations: 37.7 kB / 0.5858 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.4776, allocations: 8.469 kB / 0.5859 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.4776, allocations: 37.05 kB / 0.5859 GB, free: 1.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.4776, allocations: 0 / 0.5859 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003767/0.478, allocations: 120 kB / 0.586 GB, free: 1.723 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.4781, allocations: 52.52 kB / 0.5861 GB, free: 1.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.4781, allocations: 107.9 kB / 0.5862 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4782, allocations: 25.7 kB / 0.5862 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.4782, allocations: 89.16 kB / 0.5863 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.4782, allocations: 17.97 kB / 0.5863 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4782, allocations: 0 / 0.5863 GB, free: 1.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.4783, allocations: 318.6 kB / 0.5866 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.013e-05/0.4784, allocations: 26.2 kB / 0.5866 GB, free: 1.105 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/0.4785, allocations: 41.88 kB / 0.5867 GB, free: 1.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.41e-05/0.4786, allocations: 34.2 kB / 0.5867 GB, free: 1.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4786, allocations: 0 / 0.5867 GB, free: 1.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002168/0.4788, allocations: 89.14 kB / 0.5868 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4789, allocations: 13.2 kB / 0.5868 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4789, allocations: 0.625 kB / 0.5868 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4789, allocations: 5.312 kB / 0.5868 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.479, allocations: 19.45 kB / 0.5868 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.479, allocations: 0.75 kB / 0.5868 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.4791, allocations: 21.27 kB / 0.5868 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.4791, allocations: 2.219 kB / 0.5868 GB, free: 1.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.4792, allocations: 113.2 kB / 0.5869 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4792, allocations: 2.469 kB / 0.5869 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.4792, allocations: 14.59 kB / 0.587 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4792, allocations: 0 / 0.587 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4792, allocations: 0.8438 kB / 0.587 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4792, allocations: 0.6094 kB / 0.587 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.4794, allocations: 174.8 kB / 0.5871 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4794, allocations: 1.25 kB / 0.5871 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.14e-05/0.4795, allocations: 17.52 kB / 0.5871 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4795, allocations: 4.656 kB / 0.5871 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4795, allocations: 1.469 kB / 0.5871 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4795, allocations: 3.953 kB / 0.5872 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4795, allocations: 1.922 kB / 0.5872 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4798, allocations: 187.2 kB / 0.5873 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.4798, allocations: 79.28 kB / 0.5874 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4798, allocations: 5.188 kB / 0.5874 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4799, allocations: 14.81 kB / 0.5874 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.48, allocations: 7.219 kB / 0.5874 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.48, allocations: 3.078 kB / 0.5874 GB, free: 420 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.48, allocations: 95.83 kB / 0.5875 GB, free: 332 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4801, allocations: 0 / 0.5875 GB, free: 332 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.4803, allocations: 8.797 kB / 0.5875 GB, free: 332 kB / 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 (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.0005125/0.4808, allocations: 0.7214 MB / 0.5882 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.481, allocations: 58.59 kB / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4811, allocations: 64 / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.4812, allocations: 33.83 kB / 0.5883 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.4815, allocations: 19.56 kB / 0.5883 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.4824, allocations: 493.4 kB / 0.5888 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.4827, allocations: 0.6826 MB / 0.5895 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.4828, allocations: 4.562 kB / 0.5895 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.4829, allocations: 14.14 kB / 0.5895 GB, free: 14.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4829, allocations: 1.062 kB / 0.5895 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.4968, allocations: 1.467 MB / 0.5909 GB, free: 14.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.4971, allocations: 184.9 kB / 0.5911 GB, free: 14.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.224, allocations: 0 / 0.5911 GB, free: 14.13 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/linux/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) Environment - environmentSimulation: