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.0007912/0.0007913, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005356/0.005356, allocations: 171 kB / 16.26 MB, free: 6.613 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 16.83 kB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3683, allocations: 81.58 MB / 0.5837 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.001376/0.3697, allocations: 1.226 MB / 0.5849 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002573/0.37, allocations: 126.8 kB / 0.5851 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.37, allocations: 4.969 kB / 0.5851 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.37, allocations: 5.297 kB / 0.5851 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.3701, allocations: 5.531 kB / 0.5851 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.3704, allocations: 57.62 kB / 0.5851 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.5e-05/0.3705, allocations: 57.72 kB / 0.5852 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.3706, allocations: 12.41 kB / 0.5852 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.3706, allocations: 22.52 kB / 0.5852 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.3707, allocations: 25.7 kB / 0.5852 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3707, allocations: 2.719 kB / 0.5852 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.3707, allocations: 2.75 kB / 0.5853 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.3708, allocations: 10.2 kB / 0.5853 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.3708, allocations: 49.83 kB / 0.5853 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.634e-05/0.3709, allocations: 46.83 kB / 0.5854 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3709, allocations: 0.875 kB / 0.5854 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3709, allocations: 0 / 0.5854 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.3709, allocations: 0 / 0.5854 GB, free: 2.723 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.000365/0.3713, allocations: 367.7 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3713, allocations: 10.44 kB / 0.5857 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.3714, allocations: 41.38 kB / 0.5858 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.3714, allocations: 12 kB / 0.5858 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.963e-05/0.3715, allocations: 172.8 kB / 0.5859 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.3715, allocations: 31.66 kB / 0.586 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3716, allocations: 6.875 kB / 0.586 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3718, allocations: 83.94 kB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3718, allocations: 0.9688 kB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3718, allocations: 0 / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3718, allocations: 1.062 kB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.372, allocations: 71.22 kB / 0.5861 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.3725, allocations: 328.1 kB / 0.5864 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3727, allocations: 52.84 kB / 0.5865 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3728, allocations: 38.83 kB / 0.5865 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.3728, allocations: 0 / 0.5865 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.3728, allocations: 40.14 kB / 0.5866 GB, free: 1.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3728, allocations: 0.8125 kB / 0.5866 GB, free: 1.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003559/0.3732, allocations: 116.4 kB / 0.5867 GB, free: 1.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.3732, allocations: 52.59 kB / 0.5867 GB, free: 1.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.3733, allocations: 109.2 kB / 0.5868 GB, free: 1.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3733, allocations: 25.7 kB / 0.5868 GB, free: 1.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.3733, allocations: 88.34 kB / 0.5869 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.3733, allocations: 14.77 kB / 0.5869 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.3734, allocations: 15.64 kB / 0.587 GB, free: 1.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.3734, allocations: 321.6 kB / 0.5873 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.3735, allocations: 25.05 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.3736, allocations: 46.39 kB / 0.5873 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3738, allocations: 72.03 kB / 0.5874 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3738, allocations: 0 / 0.5874 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000224/0.374, allocations: 100.1 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3741, allocations: 6.125 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3741, allocations: 0 / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3741, allocations: 1.406 kB / 0.5875 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.53e-05/0.3742, allocations: 18.94 kB / 0.5875 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3742, allocations: 1.75 kB / 0.5875 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.3743, allocations: 12.31 kB / 0.5875 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3743, allocations: 2.984 kB / 0.5875 GB, free: 0.7969 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.872e-05/0.3743, allocations: 117.2 kB / 0.5877 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.3744, allocations: 5.875 kB / 0.5877 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.3744, allocations: 5.859 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3744, allocations: 1.5 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3744, allocations: 0 / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3744, allocations: 0.5625 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3745, allocations: 187.3 kB / 0.5878 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3745, allocations: 0 / 0.5878 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.3746, allocations: 17.83 kB / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3746, allocations: 1.656 kB / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.3746, allocations: 0 / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3746, allocations: 0.8125 kB / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3747, allocations: 0.5625 kB / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3749, allocations: 193 kB / 0.588 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.3749, allocations: 79.3 kB / 0.5881 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3749, allocations: 5.469 kB / 0.5881 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3751, allocations: 18.45 kB / 0.5881 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.3751, allocations: 3.469 kB / 0.5881 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3751, allocations: 4 kB / 0.5882 GB, free: 200 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.3752, allocations: 86.8 kB / 0.5882 GB, free: 120 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3752, allocations: 0.6562 kB / 0.5882 GB, free: 120 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002154/0.3754, allocations: 11.28 kB / 0.5882 GB, free: 116 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 (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.0005014/0.3759, allocations: 0.7181 MB / 0.5889 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3761, allocations: 66.92 kB / 0.589 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3761, allocations: 1.438 kB / 0.589 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.861e-05/0.3762, allocations: 29.64 kB / 0.589 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.3765, allocations: 10.38 kB / 0.5891 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3779, allocations: 1.372 MB / 0.5904 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3781, allocations: 0.6828 MB / 0.5911 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.3781, allocations: 8.453 kB / 0.5911 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3782, allocations: 15.78 kB / 0.5911 GB, free: 13.45 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3782, allocations: 0 / 0.5911 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2517/0.6299, allocations: 1.49 MB / 0.5925 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.6302, allocations: 192.9 kB / 0.5927 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.412, allocations: 0.9375 kB / 0.5927 GB, free: 13.04 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)