Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.739/1.739, allocations: 287.4 MB / 302.6 MB, free: 8.137 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.001067/0.001068, allocations: 184.5 kB / 371.1 MB, free: 10.75 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.904/1.904, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.00089/0.0008902, allocations: 88.86 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 15.06 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001348/0.2554, allocations: 0.9977 MB / 0.9797 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2567, allocations: 0.7812 MB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.2567, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.2568, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.2569, allocations: 3.938 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.2574, allocations: 103.6 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.29e-05/0.2575, allocations: 27.86 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.2576, allocations: 7.922 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.2576, allocations: 15.98 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.2577, allocations: 11.94 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.2577, allocations: 0 / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.2581, allocations: 171.7 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2581, allocations: 4 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.2581, allocations: 29.7 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2583, allocations: 80.12 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2583, allocations: 0 / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2583, allocations: 0 / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2583, allocations: 0 / 0.9809 GB, free: 25.85 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.0004074/0.2588, allocations: 363.3 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2588, allocations: 12.03 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2589, allocations: 34.75 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.2589, allocations: 8.922 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.259, allocations: 164.3 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.2591, allocations: 30.27 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2591, allocations: 384 / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.2593, allocations: 46 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2593, allocations: 4 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2593, allocations: 3.938 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2593, allocations: 0 / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2595, allocations: 23.97 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.2596, allocations: 153.7 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.2598, allocations: 51.38 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.2599, allocations: 24.86 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.2601, allocations: 178.3 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.2602, allocations: 34.5 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2602, allocations: 0 / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002228/0.2604, allocations: 73.75 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2604, allocations: 55.41 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.2605, allocations: 101.8 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2605, allocations: 29.64 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.513e-05/0.2605, allocations: 80.14 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.2606, allocations: 15.83 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.2606, allocations: 0 / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.146e-05/0.2606, allocations: 314.8 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.204e-05/0.2607, allocations: 7.984 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.2607, allocations: 16 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.897e-05/0.2608, allocations: 24.84 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2608, allocations: 0 / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.2609, allocations: 61.58 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2609, allocations: 11.94 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.261, allocations: 0 / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.261, allocations: 0 / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.261, allocations: 7.938 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.261, allocations: 4 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.2611, allocations: 7.984 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.2611, allocations: 0 / 0.9828 GB, free: 23.68 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 5.113e-05/0.2611, allocations: 113.8 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.2612, allocations: 3.938 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.2613, allocations: 73.16 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2613, allocations: 0 / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2613, allocations: 3.938 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.2613, allocations: 0 / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.939e-05/0.2614, allocations: 157.7 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2614, allocations: 7.938 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.2615, allocations: 11.92 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2615, allocations: 3.938 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2615, allocations: 0 / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2615, allocations: 4 kB / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2615, allocations: 0 / 0.9831 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.2616, allocations: 77.12 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.2617, allocations: 92.94 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2617, allocations: 0 / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.2617, allocations: 8 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.2618, allocations: 3.984 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.2618, allocations: 4 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.091e-05/0.2618, allocations: 75.7 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2618, allocations: 0 / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002121/0.262, allocations: 35.92 kB / 0.9834 GB, free: 22.91 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 (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 Backend phase and start with SimCode phase: time 0.0003759/0.2624, allocations: 0.6632 MB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.2626, allocations: 23.98 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2626, allocations: 0 / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.762e-05/0.2626, allocations: 27.92 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.2628, allocations: 6.406 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.2632, allocations: 186.3 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.2633, allocations: 0.677 MB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.397e-05/0.2633, allocations: 8 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.2634, allocations: 7.438 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2634, allocations: 0 / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.2757, allocations: 1.703 MB / 0.9866 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.2759, allocations: 200 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.497/1.773, allocations: 6.812 kB / 0.9868 GB, free: 19.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)