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.001714/0.001714, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.002345/0.002345, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.356/2.356, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.201/1.201, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006886/0.0006885, allocations: 11.98 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9874/0.9882, allocations: 81.58 MB / 0.583 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002849/0.9911, allocations: 1.192 MB / 0.5841 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000428/0.9916, allocations: 115.4 kB / 0.5842 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.9917, allocations: 2.938 kB / 0.5842 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.9917, allocations: 0.6094 kB / 0.5842 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.9918, allocations: 6.906 kB / 0.5842 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005026/0.9923, allocations: 57.61 kB / 0.5843 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.9925, allocations: 32.36 kB / 0.5843 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.9926, allocations: 25.3 kB / 0.5844 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.9927, allocations: 22.23 kB / 0.5844 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.9928, allocations: 17.62 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.9929, allocations: 2.344 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.9929, allocations: 2.375 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.993, allocations: 6.094 kB / 0.5844 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.993, allocations: 36.58 kB / 0.5844 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.9931, allocations: 38.69 kB / 0.5845 GB, free: 3.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.9932, allocations: 0 / 0.5845 GB, free: 3.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9932, allocations: 5.688 kB / 0.5845 GB, free: 3.043 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.9932, allocations: 0 / 0.5845 GB, free: 3.043 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.000674/0.9939, allocations: 362.9 kB / 0.5848 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.9939, allocations: 8.656 kB / 0.5848 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.994, allocations: 36.66 kB / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.9941, allocations: 14.89 kB / 0.5849 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.9942, allocations: 167.7 kB / 0.585 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.9943, allocations: 35.94 kB / 0.5851 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.9944, allocations: 3.312 kB / 0.5851 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.9947, allocations: 82.19 kB / 0.5852 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.9948, allocations: 0 / 0.5852 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.9948, allocations: 1.844 kB / 0.5852 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.9948, allocations: 5.156 kB / 0.5852 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.9952, allocations: 58.23 kB / 0.5852 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.9961, allocations: 332.1 kB / 0.5855 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.9964, allocations: 59.78 kB / 0.5856 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.9964, allocations: 4.938 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.9965, allocations: 31.98 kB / 0.5856 GB, free: 1.953 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.9965, allocations: 0.625 kB / 0.5856 GB, free: 1.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006402/0.9971, allocations: 121 kB / 0.5858 GB, free: 1.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.9972, allocations: 52.2 kB / 0.5858 GB, free: 1.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.9973, allocations: 111.4 kB / 0.5859 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.9974, allocations: 30.52 kB / 0.5859 GB, free: 1.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.9974, allocations: 87.56 kB / 0.586 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.9975, allocations: 18.67 kB / 0.586 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.9975, allocations: 1 kB / 0.586 GB, free: 1.594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.9976, allocations: 317.8 kB / 0.5863 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.9978, allocations: 30.56 kB / 0.5864 GB, free: 1.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.9979, allocations: 41.44 kB / 0.5864 GB, free: 1.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.9981, allocations: 30.3 kB / 0.5864 GB, free: 1.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9981, allocations: 0 / 0.5864 GB, free: 1.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003975/0.9985, allocations: 92.41 kB / 0.5865 GB, free: 1.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.9986, allocations: 10.12 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.9986, allocations: 0.7188 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.9986, allocations: 4.922 kB / 0.5865 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.9988, allocations: 15.34 kB / 0.5866 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9988, allocations: 1.453 kB / 0.5866 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.9989, allocations: 20.28 kB / 0.5866 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.999, allocations: 2.406 kB / 0.5866 GB, free: 1.176 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 9.072e-05/0.9991, allocations: 113.3 kB / 0.5867 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.9991, allocations: 2.688 kB / 0.5867 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.9992, allocations: 9.406 kB / 0.5867 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.9992, allocations: 4.703 kB / 0.5867 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9992, allocations: 1.75 kB / 0.5867 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9992, allocations: 0 / 0.5867 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.9995, allocations: 171.4 kB / 0.5869 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9995, allocations: 0 / 0.5869 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.9996, allocations: 25.97 kB / 0.5869 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9996, allocations: 4.656 kB / 0.5869 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.9997, allocations: 2 kB / 0.5869 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.9997, allocations: 0 / 0.5869 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9997, allocations: 4.703 kB / 0.5869 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/1, allocations: 183.6 kB / 0.5871 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/1, allocations: 79.72 kB / 0.5872 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/1, allocations: 5.219 kB / 0.5872 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/1, allocations: 14.59 kB / 0.5872 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1, allocations: 7.641 kB / 0.5872 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/1.001, allocations: 7.5 kB / 0.5872 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.109e-05/1.001, allocations: 87.06 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.001, allocations: 4 kB / 0.5873 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004353/1.001, allocations: 8.75 kB / 0.5873 GB, free: 0.4961 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 (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.0007931/1.002, allocations: 0.7184 MB / 0.588 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004056/1.002, allocations: 61.81 kB / 0.588 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.002, allocations: 5 kB / 0.588 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/1.003, allocations: 37.09 kB / 0.5881 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/1.003, allocations: 7.281 kB / 0.5881 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/1.004, allocations: 0.4968 MB / 0.5886 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/1.004, allocations: 0.6858 MB / 0.5892 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/1.004, allocations: 4.812 kB / 0.5893 GB, free: 14.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/1.004, allocations: 18.12 kB / 0.5893 GB, free: 14.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/1.004, allocations: 1.25 kB / 0.5893 GB, free: 14.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/1.024, allocations: 1.45 MB / 0.5907 GB, free: 14.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/1.024, allocations: 175.4 kB / 0.5909 GB, free: 14.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.731, allocations: 0 / 0.5909 GB, free: 14.19 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: