Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0009301/0.0009299, allocations: 91.84 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.00554/0.00554, allocations: 169.9 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 8.562 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4186, allocations: 81.58 MB / 0.5838 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001618/0.4202, allocations: 1.377 MB / 0.5851 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.4209, allocations: 407.8 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.421, allocations: 1.219 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.271e-05/0.4211, allocations: 6.047 kB / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.4212, allocations: 25.44 kB / 0.5855 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.4215, allocations: 103.5 kB / 0.5856 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4217, allocations: 105.3 kB / 0.5857 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.4218, allocations: 40.64 kB / 0.5858 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.4219, allocations: 37.41 kB / 0.5858 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.4219, allocations: 30.19 kB / 0.5858 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.422, allocations: 3.219 kB / 0.5858 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.4221, allocations: 55.62 kB / 0.5859 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.4221, allocations: 15.7 kB / 0.5859 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.905e-05/0.4222, allocations: 66.84 kB / 0.586 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.4224, allocations: 119.6 kB / 0.5861 GB, free: 2.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4224, allocations: 5.375 kB / 0.5861 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4224, allocations: 0 / 0.5861 GB, free: 2.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.4224, allocations: 0 / 0.5861 GB, free: 2.328 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004413/0.4228, allocations: 401.4 kB / 0.5865 GB, free: 1.941 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4229, allocations: 9.719 kB / 0.5865 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.4229, allocations: 39.44 kB / 0.5865 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.4231, allocations: 36.56 kB / 0.5865 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.4233, allocations: 196.7 kB / 0.5867 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.4234, allocations: 37.89 kB / 0.5868 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.4234, allocations: 8.781 kB / 0.5868 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.4237, allocations: 115.5 kB / 0.5869 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4237, allocations: 3.938 kB / 0.5869 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.4237, allocations: 4.938 kB / 0.5869 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.4238, allocations: 5.422 kB / 0.5869 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.424, allocations: 89.69 kB / 0.587 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.4247, allocations: 392 kB / 0.5874 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.4252, allocations: 138.5 kB / 0.5875 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4253, allocations: 47.88 kB / 0.5875 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.4253, allocations: 5.062 kB / 0.5875 GB, free: 1.145 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.4254, allocations: 32.22 kB / 0.5876 GB, free: 1.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.4254, allocations: 0.9062 kB / 0.5876 GB, free: 1.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004425/0.4258, allocations: 152.3 kB / 0.5877 GB, free: 1.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.4258, allocations: 57.39 kB / 0.5878 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.426, allocations: 139.5 kB / 0.5879 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.426, allocations: 27.02 kB / 0.5879 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.426, allocations: 102.8 kB / 0.588 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.426, allocations: 19.48 kB / 0.588 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.4261, allocations: 16.77 kB / 0.5881 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.4261, allocations: 324.4 kB / 0.5884 GB, free: 384 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4262, allocations: 35.17 kB / 0.5884 GB, free: 376 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4264, allocations: 48.58 kB / 0.5884 GB, free: 352 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.4266, allocations: 92.58 kB / 0.5885 GB, free: 308 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4266, allocations: 1.188 kB / 0.5885 GB, free: 308 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002666/0.4269, allocations: 125 kB / 0.5887 GB, free: 244 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4269, allocations: 5.922 kB / 0.5887 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.4269, allocations: 1.188 kB / 0.5887 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4269, allocations: 4.688 kB / 0.5887 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4271, allocations: 25.27 kB / 0.5887 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4271, allocations: 0 / 0.5887 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.4272, allocations: 22.31 kB / 0.5887 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.4272, allocations: 2.375 kB / 0.5887 GB, free: 224 kB / 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 (8): * Single equations (assignments): 8 * 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 6.889e-05/0.4273, allocations: 118.1 kB / 0.5888 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.4273, allocations: 8.391 kB / 0.5888 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.4273, allocations: 15.61 kB / 0.5888 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4273, allocations: 9.688 kB / 0.5889 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.4274, allocations: 0.6562 kB / 0.5889 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4274, allocations: 0 / 0.5889 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.4276, allocations: 196 kB / 0.589 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4276, allocations: 4 kB / 0.589 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4277, allocations: 18.28 kB / 0.5891 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4277, allocations: 1.125 kB / 0.5891 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4278, allocations: 3.938 kB / 0.5891 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4278, allocations: 6.203 kB / 0.5891 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4278, allocations: 0 / 0.5891 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.4281, allocations: 218.6 kB / 0.5893 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.4282, allocations: 92.23 kB / 0.5894 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4282, allocations: 1.703 kB / 0.5894 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4284, allocations: 18.33 kB / 0.5894 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4284, allocations: 8.797 kB / 0.5894 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.4285, allocations: 4.141 kB / 0.5894 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.531e-05/0.4285, allocations: 107.1 kB / 0.5895 GB, free: 15.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4286, allocations: 0 / 0.5895 GB, free: 15.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.4288, allocations: 24.34 kB / 0.5895 GB, free: 15.48 MB / 446.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 (7): * Single equations (assignments): 7 * 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.0006968/0.4295, allocations: 0.7419 MB / 0.5903 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003436/0.4299, allocations: 84.06 kB / 0.5903 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4299, allocations: 0 / 0.5903 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.43, allocations: 45.92 kB / 0.5904 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.4305, allocations: 32.52 kB / 0.5904 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.4331, allocations: 1.598 MB / 0.592 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4335, allocations: 0.6984 MB / 0.5927 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.4336, allocations: 15.95 kB / 0.5927 GB, free: 12.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.219e-05/0.4337, allocations: 25.53 kB / 0.5927 GB, free: 12.69 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4337, allocations: 0 / 0.5927 GB, free: 12.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4558, allocations: 2.402 MB / 0.595 GB, free: 12.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.456, allocations: 200.9 kB / 0.5952 GB, free: 12.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.338, allocations: 0 / 0.5952 GB, free: 12.25 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)