Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.729/1.729, allocations: 288.4 MB / 303.3 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 188.4 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 0.6307 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009013/0.0009013, allocations: 98.25 kB / 0.7441 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003888, allocations: 16.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001359/0.252, allocations: 0.9824 MB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2532, allocations: 0.8598 MB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.381e-05/0.2533, allocations: 0 / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.2533, allocations: 3.984 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.2534, allocations: 3.938 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.2539, allocations: 149.4 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.2539, allocations: 15.88 kB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.254, allocations: 3.984 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.254, allocations: 8 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.2541, allocations: 4 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2541, allocations: 0 / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.2545, allocations: 183.7 kB / 0.9818 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.2545, allocations: 8 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.2545, allocations: 25.7 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.2547, allocations: 108.1 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2547, allocations: 0 / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2547, allocations: 0 / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2547, allocations: 3.938 kB / 0.9819 GB, free: 25.18 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003811/0.2551, allocations: 347.4 kB / 0.9823 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2552, allocations: 12.02 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.2552, allocations: 34.56 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.2554, allocations: 15.84 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.154e-05/0.2555, allocations: 163.1 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2555, allocations: 0 / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2555, allocations: 7.938 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.2556, allocations: 41.62 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.2556, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2557, allocations: 4 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2557, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.2557, allocations: 15.98 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.2559, allocations: 173.5 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.2567, allocations: 126.5 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.2568, allocations: 20.84 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.2569, allocations: 85.09 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2569, allocations: 30.56 kB / 0.983 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2569, allocations: 4 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.2571, allocations: 57.69 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2571, allocations: 55.41 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.558e-05/0.2572, allocations: 97.84 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2572, allocations: 25.7 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.2573, allocations: 80.14 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2573, allocations: 19.75 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2573, allocations: 0 / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.2574, allocations: 314.8 kB / 0.9836 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.2574, allocations: 8 kB / 0.9836 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.2574, allocations: 7.984 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.2574, allocations: 12.12 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2575, allocations: 4 kB / 0.9836 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.031e-05/0.2575, allocations: 49.69 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2576, allocations: 8 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2576, allocations: 0 / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2576, allocations: 0 / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.2577, allocations: 4 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2577, allocations: 7.984 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.2577, allocations: 0 / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.2577, allocations: 4 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 6.757e-05/0.2578, allocations: 121.7 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.2578, allocations: 3.938 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.258, allocations: 81.02 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2581, allocations: 4 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2581, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2581, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.561e-05/0.2582, allocations: 161.6 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2582, allocations: 4 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.2583, allocations: 11.98 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2583, allocations: 0 / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.2583, allocations: 0 / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2583, allocations: 3.938 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2583, allocations: 4 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.498e-05/0.2584, allocations: 89.08 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2585, allocations: 77.11 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.2585, allocations: 7.984 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.2585, allocations: 4 kB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.2586, allocations: 0 / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2586, allocations: 0 / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.2586, allocations: 79.28 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2586, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002464/0.2589, allocations: 56.08 kB / 0.9844 GB, free: 22.34 MB / 0.6198 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 (5): * Single equations (assignments): 5 * 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.0005472/0.2594, allocations: 0.6846 MB / 0.9851 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.2595, allocations: 23.98 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2595, allocations: 4 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.2596, allocations: 15.94 kB / 0.9851 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.2597, allocations: 8.703 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.2602, allocations: 194 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2603, allocations: 0.677 MB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.172e-05/0.2603, allocations: 11.98 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.2604, allocations: 11.44 kB / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2604, allocations: 0 / 0.986 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.2726, allocations: 1.721 MB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.2728, allocations: 255.6 kB / 0.9879 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.912, allocations: 0 / 0.9879 GB, free: 18.74 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)