Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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 2.817/2.817, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001382/0.001381, allocations: 182.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.342/2.342, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008695/0.0008693, allocations: 85.17 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006768/0.0006773, allocations: 11.38 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2539, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002025/0.256, allocations: 0.9821 MB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000839/0.2569, allocations: 279.4 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.257, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.2571, allocations: 3.938 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.965e-05/0.2571, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.2575, allocations: 43.81 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.2576, allocations: 19.88 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.2577, allocations: 3.984 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.2577, allocations: 4 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.2578, allocations: 4 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2578, allocations: 0 / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.2581, allocations: 51.95 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.2581, allocations: 15.91 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.2582, allocations: 29.7 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.2583, allocations: 36.2 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2584, allocations: 0 / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2584, allocations: 0 / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2584, allocations: 0 / 0.9799 GB, free: 26.75 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.0003982/0.2588, allocations: 331.4 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.2589, allocations: 15.95 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.2589, allocations: 34.56 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.2593, allocations: 31.83 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.97e-05/0.2594, allocations: 163.1 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2595, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.2595, allocations: 4 kB / 0.9804 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2597, allocations: 45.62 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.2597, allocations: 0 / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2598, allocations: 3.938 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2598, allocations: 0 / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.2599, allocations: 15.98 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.2601, allocations: 165.6 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.2643, allocations: 266.5 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.2645, allocations: 24.86 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2645, allocations: 3.984 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2645, allocations: 38.48 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 4.258e-06/0.2646, allocations: 0 / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002766/0.2649, allocations: 61.69 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2649, allocations: 51.41 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.265, allocations: 93.86 kB / 0.9812 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.265, allocations: 29.83 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.2651, allocations: 80.14 kB / 0.9813 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.2651, allocations: 11.81 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.2651, allocations: 4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.2652, allocations: 318.8 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.2653, allocations: 8 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.2653, allocations: 4 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.259e-05/0.2654, allocations: 11.94 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2654, allocations: 0 / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001577/0.2656, allocations: 57.69 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2656, allocations: 6.031 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2656, allocations: 4 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2657, allocations: 0 / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2658, allocations: 8 kB / 0.9817 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.2658, allocations: 3.984 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.2659, allocations: 0 / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.266, allocations: 4 kB / 0.9817 GB, free: 24.66 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 8.315e-05/0.2661, allocations: 115 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.2661, allocations: 4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.2661, allocations: 11.5 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2662, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2662, allocations: 0 / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2662, allocations: 11.81 kB / 0.9818 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.2664, allocations: 161.6 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2664, allocations: 0 / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.2665, allocations: 8 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2665, allocations: 0 / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2665, allocations: 3.984 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2666, allocations: 0 / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2666, allocations: 4 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2668, allocations: 84.98 kB / 0.9821 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.2668, allocations: 81.11 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2669, allocations: 0 / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.267, allocations: 0 / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.267, allocations: 7.984 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2671, allocations: 8 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.2671, allocations: 79.28 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2671, allocations: 3.938 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004859/0.2676, allocations: 8 kB / 0.9823 GB, free: 23.98 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.0005339/0.2682, allocations: 0.6089 MB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.2684, allocations: 28.11 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.2684, allocations: 4 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.2685, allocations: 11.94 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.269, allocations: 15.98 kB / 0.9829 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.2697, allocations: 162.2 kB / 0.9831 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.2699, allocations: 0.6848 MB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.2701, allocations: 0 / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.2701, allocations: 11.44 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of SimCode: time 1.633e-06/0.2701, allocations: 0 / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.2933, allocations: 1.098 MB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.2936, allocations: 200.5 kB / 0.985 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/2.703, allocations: 5.609 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)