Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_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.001312/0.001317, allocations: 102 kB / 16.27 MB, free: 5.961 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.001392/0.001392, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7651/0.7651, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.001181, allocations: 63.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4305, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003332/0.4339, allocations: 1.656 MB / 0.5689 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.4346, allocations: 390.1 kB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.4347, allocations: 0 / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.4349, allocations: 14.84 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.4349, allocations: 27.61 kB / 0.5693 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.4354, allocations: 115.5 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.4356, allocations: 114.5 kB / 0.5695 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.4358, allocations: 44.53 kB / 0.5696 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.4358, allocations: 41.98 kB / 0.5696 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.385e-05/0.4359, allocations: 40.77 kB / 0.5696 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.436, allocations: 7.469 kB / 0.5697 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.4362, allocations: 63.69 kB / 0.5697 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.4362, allocations: 24.98 kB / 0.5697 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.4363, allocations: 41.23 kB / 0.5698 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.4366, allocations: 130 kB / 0.5699 GB, free: 31.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4366, allocations: 0 / 0.5699 GB, free: 31.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4366, allocations: 0 / 0.5699 GB, free: 31.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4366, allocations: 0.9062 kB / 0.5699 GB, free: 31.07 MB / 446.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.0006925/0.4373, allocations: 423.4 kB / 0.5703 GB, free: 30.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.4374, allocations: 14.47 kB / 0.5703 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.4374, allocations: 39.16 kB / 0.5704 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.4377, allocations: 29.48 kB / 0.5704 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.4379, allocations: 190.4 kB / 0.5706 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.438, allocations: 35.73 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.438, allocations: 9.125 kB / 0.5706 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.4383, allocations: 105.5 kB / 0.5707 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4383, allocations: 4.438 kB / 0.5707 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4383, allocations: 5.781 kB / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4384, allocations: 2.125 kB / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.4386, allocations: 87.8 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/0.4394, allocations: 386.4 kB / 0.5712 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.4399, allocations: 126.4 kB / 0.5713 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.44, allocations: 44.55 kB / 0.5713 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.4401, allocations: 1.094 kB / 0.5713 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.4401, allocations: 33 kB / 0.5714 GB, free: 29.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4401, allocations: 0.875 kB / 0.5714 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004395/0.4406, allocations: 140.6 kB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.4406, allocations: 56.81 kB / 0.5716 GB, free: 29.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/0.4407, allocations: 136.8 kB / 0.5717 GB, free: 29.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4407, allocations: 31.84 kB / 0.5717 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.4408, allocations: 103.3 kB / 0.5718 GB, free: 29.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.4408, allocations: 25.41 kB / 0.5718 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.4409, allocations: 20.2 kB / 0.5719 GB, free: 29.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.4409, allocations: 319.8 kB / 0.5722 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.441, allocations: 31.67 kB / 0.5722 GB, free: 29.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4412, allocations: 49.42 kB / 0.5722 GB, free: 29.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.4414, allocations: 80.88 kB / 0.5723 GB, free: 29.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4414, allocations: 0 / 0.5723 GB, free: 29.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002552/0.4416, allocations: 114.5 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4417, allocations: 5.609 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4417, allocations: 0.9062 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4417, allocations: 4.906 kB / 0.5724 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.4418, allocations: 19.53 kB / 0.5725 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4418, allocations: 0.6562 kB / 0.5725 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.4419, allocations: 12.73 kB / 0.5725 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.4419, allocations: 1.844 kB / 0.5725 GB, free: 28.98 MB / 446.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.717e-05/0.442, allocations: 115.7 kB / 0.5726 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.4421, allocations: 9.562 kB / 0.5726 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.4421, allocations: 20.77 kB / 0.5726 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4421, allocations: 3.938 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4421, allocations: 6.5 kB / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4421, allocations: 0 / 0.5726 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4423, allocations: 203.7 kB / 0.5728 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4423, allocations: 3.75 kB / 0.5728 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4424, allocations: 15.88 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.4424, allocations: 5.281 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4425, allocations: 0.625 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4425, allocations: 4.75 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4425, allocations: 0.7812 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.4428, allocations: 197.8 kB / 0.573 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.4428, allocations: 87.78 kB / 0.5731 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.4428, allocations: 5.438 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.443, allocations: 19.81 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.443, allocations: 5.969 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4431, allocations: 3.938 kB / 0.5732 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.121e-05/0.4431, allocations: 105.9 kB / 0.5733 GB, free: 28.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4431, allocations: 0 / 0.5733 GB, free: 28.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.4434, allocations: 22.81 kB / 0.5733 GB, free: 28.27 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.0004809/0.4439, allocations: 0.7351 MB / 0.574 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.4442, allocations: 79.08 kB / 0.5741 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4442, allocations: 0 / 0.5741 GB, free: 27.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.4443, allocations: 36.77 kB / 0.5741 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.4448, allocations: 36.83 kB / 0.5741 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.4465, allocations: 1.544 MB / 0.5756 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.4466, allocations: 0.6937 MB / 0.5763 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.181e-05/0.4467, allocations: 11.61 kB / 0.5763 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.4468, allocations: 30.42 kB / 0.5764 GB, free: 25.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4468, allocations: 0.5312 kB / 0.5764 GB, free: 25.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.4702, allocations: 2.685 MB / 0.579 GB, free: 25.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.304, allocations: 6.016 kB / 0.579 GB, free: 25.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)