Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_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.0009915/0.0009916, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001312/0.001312, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.583/1.583, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005901/0.0005901, allocations: 17.44 kB / 0.6738 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3221, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00198/0.3241, allocations: 1.356 MB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.3248, allocations: 379.1 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.3249, allocations: 4 kB / 0.7891 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.973e-05/0.325, allocations: 7.875 kB / 0.7891 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.3251, allocations: 19.84 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.3255, allocations: 91.73 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3257, allocations: 103.6 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3258, allocations: 28.44 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.3259, allocations: 31.92 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.326, allocations: 31.84 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.326, allocations: 3.938 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3261, allocations: 55.95 kB / 0.7894 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.3261, allocations: 23.84 kB / 0.7895 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.3262, allocations: 41.64 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3263, allocations: 87.8 kB / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3264, allocations: 0 / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3264, allocations: 0 / 0.7896 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3264, allocations: 0 / 0.7896 GB, free: 9.578 MB / 0.6075 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.0005881/0.327, allocations: 407 kB / 0.79 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.327, allocations: 12.03 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.3271, allocations: 42.55 kB / 0.79 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.3273, allocations: 27.8 kB / 0.7901 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.3276, allocations: 195.9 kB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.3277, allocations: 37.69 kB / 0.7903 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3277, allocations: 8 kB / 0.7903 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.328, allocations: 109.6 kB / 0.7904 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.328, allocations: 0 / 0.7904 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3281, allocations: 0 / 0.7904 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3281, allocations: 4 kB / 0.7904 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.3284, allocations: 98.97 kB / 0.7905 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.3291, allocations: 388.4 kB / 0.7909 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.3296, allocations: 142.5 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3297, allocations: 52.88 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3297, allocations: 4 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3298, allocations: 30.56 kB / 0.7911 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.3298, allocations: 0 / 0.7911 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004065/0.3302, allocations: 153.8 kB / 0.7912 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3302, allocations: 51.41 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3303, allocations: 134 kB / 0.7914 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3304, allocations: 29.64 kB / 0.7914 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.3304, allocations: 104.2 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3305, allocations: 23.59 kB / 0.7916 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.3305, allocations: 4 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3306, allocations: 326.8 kB / 0.7919 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3307, allocations: 27.98 kB / 0.7919 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3308, allocations: 53.69 kB / 0.7919 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3309, allocations: 39.97 kB / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.331, allocations: 0 / 0.792 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002581/0.3312, allocations: 133.5 kB / 0.7921 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3312, allocations: 4 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3313, allocations: 0 / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3313, allocations: 4 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3314, allocations: 23.92 kB / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3314, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.088e-05/0.3315, allocations: 15.92 kB / 0.7922 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3315, allocations: 0 / 0.7922 GB, free: 6.711 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.3316, allocations: 117.8 kB / 0.7923 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.3317, allocations: 11.86 kB / 0.7923 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.3317, allocations: 20.7 kB / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3317, allocations: 0 / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.3317, allocations: 0 / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3317, allocations: 0 / 0.7923 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.332, allocations: 201.5 kB / 0.7925 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.332, allocations: 0 / 0.7925 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3321, allocations: 27.92 kB / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3321, allocations: 0 / 0.7925 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3321, allocations: 7.953 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3321, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3321, allocations: 0 / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.3325, allocations: 219.4 kB / 0.7927 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3325, allocations: 81.02 kB / 0.7928 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3326, allocations: 4 kB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3327, allocations: 15.94 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3328, allocations: 11.98 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3328, allocations: 7.938 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.184e-05/0.3329, allocations: 106.2 kB / 0.793 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3329, allocations: 3.938 kB / 0.793 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002391/0.3331, allocations: 20 kB / 0.793 GB, free: 5.777 MB / 0.6075 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 (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.0006327/0.3338, allocations: 0.7442 MB / 0.7937 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.334, allocations: 87.95 kB / 0.7938 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.334, allocations: 4.062 kB / 0.7938 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3341, allocations: 43.97 kB / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.3345, allocations: 23.94 kB / 0.7939 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.3357, allocations: 0.6631 MB / 0.7945 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.336, allocations: 0.7004 MB / 0.7952 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.253e-05/0.3361, allocations: 8.672 kB / 0.7952 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.3361, allocations: 27.42 kB / 0.7952 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.3361, allocations: 3.938 kB / 0.7952 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.3487, allocations: 2.367 MB / 0.7975 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.3489, allocations: 214.7 kB / 0.7977 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.241, allocations: 3.938 kB / 0.7977 GB, free: 0.918 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) Environment - environmentSimulation: