Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildingSystems_BuildingSystems_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.001262/0.001262, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 298.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.982/0.982, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003586/0.003586, allocations: 92.95 kB / 0.5953 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2453, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004721/0.2501, allocations: 1.65 MB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2512, allocations: 397.4 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.2513, allocations: 11.88 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.2515, allocations: 8.656 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.497e-05/0.2516, allocations: 24.31 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.2522, allocations: 117.8 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.2524, allocations: 112.8 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2526, allocations: 48.77 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.072e-05/0.2527, allocations: 35.92 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2528, allocations: 47.77 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2529, allocations: 4 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.2531, allocations: 63.95 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.2532, allocations: 23.91 kB / 0.6827 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.2532, allocations: 43.8 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.2536, allocations: 127.6 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2536, allocations: 0 / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2536, allocations: 4 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.2536, allocations: 0 / 0.6829 GB, free: 13.86 MB / 494.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.0007647/0.2544, allocations: 415.2 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.2544, allocations: 12.03 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.2545, allocations: 38.75 kB / 0.6834 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.2549, allocations: 32.72 kB / 0.6834 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.2552, allocations: 199 kB / 0.6836 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.915e-05/0.2553, allocations: 38.27 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.2553, allocations: 4.375 kB / 0.6836 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.2557, allocations: 105.9 kB / 0.6837 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2557, allocations: 0 / 0.6837 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2558, allocations: 8 kB / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2558, allocations: 0 / 0.6837 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.2562, allocations: 85.75 kB / 0.6838 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009904/0.2572, allocations: 392.5 kB / 0.6842 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.2581, allocations: 130.5 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.2583, allocations: 44.88 kB / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.2584, allocations: 0 / 0.6844 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2584, allocations: 30.56 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.2584, allocations: 0 / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007119/0.2592, allocations: 141.5 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2592, allocations: 59.28 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.2594, allocations: 133.8 kB / 0.6847 GB, free: 11.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.2595, allocations: 25.7 kB / 0.6847 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.2596, allocations: 100.3 kB / 0.6848 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.2596, allocations: 24.16 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.2597, allocations: 17.72 kB / 0.6849 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2599, allocations: 330.8 kB / 0.6852 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.26, allocations: 31.97 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.2602, allocations: 37.7 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.2606, allocations: 85.61 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2606, allocations: 0 / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00043/0.261, allocations: 109.6 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2611, allocations: 6.188 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2611, allocations: 3.984 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.2611, allocations: 7.938 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2613, allocations: 19.92 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2613, allocations: 0 / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.2615, allocations: 19.86 kB / 0.6855 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2615, allocations: 4 kB / 0.6855 GB, free: 10.97 MB / 494.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 0.0001226/0.2616, allocations: 119.2 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.2617, allocations: 7.906 kB / 0.6856 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.2618, allocations: 12.7 kB / 0.6856 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2618, allocations: 7.938 kB / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2618, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2618, allocations: 0 / 0.6856 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000326/0.2621, allocations: 201.6 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2622, allocations: 4 kB / 0.6858 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.2623, allocations: 15.98 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2623, allocations: 0 / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2624, allocations: 4 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.2624, allocations: 7.922 kB / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2624, allocations: 0 / 0.6859 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.2629, allocations: 203.9 kB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.2629, allocations: 85.02 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.263, allocations: 0 / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2633, allocations: 23.86 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.2634, allocations: 3.984 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.2634, allocations: 4 kB / 0.6862 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.2635, allocations: 107.2 kB / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.2635, allocations: 0 / 0.6863 GB, free: 10.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004792/0.264, allocations: 27.84 kB / 0.6863 GB, free: 10.06 MB / 494.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.0009315/0.265, allocations: 0.7414 MB / 0.687 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.2655, allocations: 75.88 kB / 0.6871 GB, free: 9.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2655, allocations: 8.062 kB / 0.6871 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2657, allocations: 31.98 kB / 0.6871 GB, free: 9.184 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.2665, allocations: 36.53 kB / 0.6872 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.2696, allocations: 1.534 MB / 0.6887 GB, free: 7.535 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.27, allocations: 0.704 MB / 0.6893 GB, free: 6.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.2702, allocations: 12.67 kB / 0.6894 GB, free: 6.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.2703, allocations: 23.42 kB / 0.6894 GB, free: 6.766 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2703, allocations: 0 / 0.6894 GB, free: 6.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.2957, allocations: 2.712 MB / 0.692 GB, free: 4.203 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.972, allocations: 15 kB / 0.692 GB, free: 4.191 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)