Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_dev_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.008761/0.008761, allocations: 96.66 kB / 15.73 MB, free: 6.004 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.001321/0.001321, allocations: 185.4 kB / 16.67 MB, free: 5.938 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8467/0.8467, allocations: 135.6 MB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 75.94 kB / 0.5857 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1957, allocations: 81.01 MB / 0.6648 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003009/0.1988, allocations: 1.664 MB / 0.6665 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007489/0.1996, allocations: 402.8 kB / 0.6669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.1997, allocations: 0 / 0.6669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.1998, allocations: 7.875 kB / 0.6669 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.1999, allocations: 27.72 kB / 0.6669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2003, allocations: 129.5 kB / 0.667 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2005, allocations: 107.6 kB / 0.6671 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2006, allocations: 40.23 kB / 0.6671 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.2007, allocations: 43.84 kB / 0.6672 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.2008, allocations: 39.78 kB / 0.6672 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.2008, allocations: 12 kB / 0.6672 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.201, allocations: 59.95 kB / 0.6673 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.201, allocations: 23.91 kB / 0.6673 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.2011, allocations: 47.78 kB / 0.6674 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.2013, allocations: 127.5 kB / 0.6675 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2013, allocations: 0 / 0.6675 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2014, allocations: 0 / 0.6675 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2014, allocations: 0 / 0.6675 GB, free: 2.949 MB / 0.4981 GB 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.0006648/0.202, allocations: 430.9 kB / 0.6679 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2021, allocations: 9.109 kB / 0.6679 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.2021, allocations: 38.75 kB / 0.6679 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.2024, allocations: 32.8 kB / 0.668 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.2027, allocations: 190.9 kB / 0.6682 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.2027, allocations: 38.27 kB / 0.6682 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.2027, allocations: 8.375 kB / 0.6682 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.203, allocations: 109.9 kB / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.203, allocations: 0 / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2031, allocations: 0 / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2031, allocations: 7.938 kB / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.2033, allocations: 83.81 kB / 0.6684 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.2041, allocations: 384.5 kB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005013/0.2046, allocations: 130.6 kB / 0.6689 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2047, allocations: 44.83 kB / 0.6689 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2047, allocations: 4 kB / 0.6689 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.2048, allocations: 34.56 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2048, allocations: 0 / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004242/0.2052, allocations: 129.5 kB / 0.6691 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2053, allocations: 59.34 kB / 0.6691 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2054, allocations: 151.3 kB / 0.6693 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2055, allocations: 25.7 kB / 0.6693 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.2055, allocations: 104 kB / 0.6694 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2056, allocations: 23.78 kB / 0.6694 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.2056, allocations: 21.72 kB / 0.6695 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2058, allocations: 318.8 kB / 0.6698 GB, free: 400 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.2059, allocations: 23.98 kB / 0.6698 GB, free: 376 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.206, allocations: 53.83 kB / 0.6698 GB, free: 316 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2062, allocations: 81.61 kB / 0.6699 GB, free: 228 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2062, allocations: 0 / 0.6699 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002596/0.2065, allocations: 106.1 kB / 0.67 GB, free: 116 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2065, allocations: 12.03 kB / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.2065, allocations: 80 / 0.67 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2066, allocations: 3.938 kB / 0.67 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2067, allocations: 19.92 kB / 0.67 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2067, allocations: 7.984 kB / 0.6701 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.2068, allocations: 19.94 kB / 0.6701 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.2068, allocations: 0 / 0.6701 GB, free: 52 kB / 0.4981 GB 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 0.000108/0.2069, allocations: 113.8 kB / 0.6702 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.207, allocations: 7.953 kB / 0.6702 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.207, allocations: 16.72 kB / 0.6702 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.207, allocations: 3.938 kB / 0.6702 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.207, allocations: 3.984 kB / 0.6702 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.207, allocations: 3.938 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.2073, allocations: 201.6 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2073, allocations: 0 / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2074, allocations: 15.98 kB / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2074, allocations: 3.938 kB / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.2074, allocations: 4 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2074, allocations: 3.938 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2074, allocations: 4 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.2077, allocations: 203.4 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.2078, allocations: 85 kB / 0.6707 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.2078, allocations: 7.938 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.208, allocations: 15.92 kB / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.208, allocations: 11.98 kB / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2081, allocations: 4 kB / 0.6708 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.2081, allocations: 101.5 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2081, allocations: 0 / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002338/0.2084, allocations: 24 kB / 0.6709 GB, free: 15.14 MB / 0.5137 GB 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.000645/0.209, allocations: 0.7358 MB / 0.6716 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2093, allocations: 79.88 kB / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2093, allocations: 0 / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2094, allocations: 35.97 kB / 0.6717 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2098, allocations: 27.98 kB / 0.6717 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2118, allocations: 1.546 MB / 0.6732 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.2121, allocations: 0.6968 MB / 0.6739 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.883e-05/0.2122, allocations: 12.66 kB / 0.6739 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.2123, allocations: 23.44 kB / 0.674 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2123, allocations: 0 / 0.674 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.2384, allocations: 2.737 MB / 0.6766 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.33, allocations: 17.25 kB / 0.6766 GB, free: 9.207 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)