Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001123/0.001123, 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.001189/0.001189, allocations: 193.3 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001948/0.001948, allocations: 290.7 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9396/0.9396, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 96.92 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1547, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002025/0.1567, allocations: 1.242 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004464/0.1572, allocations: 301.5 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.622e-05/0.1572, allocations: 0 / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.06e-05/0.1572, allocations: 0 / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.611e-05/0.1573, allocations: 7.938 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.1575, allocations: 51.73 kB / 0.6819 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.1575, allocations: 19.88 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.658e-05/0.1575, allocations: 3.984 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.1576, allocations: 4 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.1576, allocations: 4 kB / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.1576, allocations: 0 / 0.6819 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1577, allocations: 59.95 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1577, allocations: 11.92 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1578, allocations: 8 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.1579, allocations: 48.11 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1579, allocations: 3.938 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1579, allocations: 0 / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.1579, allocations: 0 / 0.682 GB, free: 14.81 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002514/0.1582, allocations: 335.5 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.354e-05/0.1582, allocations: 8.031 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.497e-05/0.1582, allocations: 34.75 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1584, allocations: 20.91 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.057e-05/0.1585, allocations: 168.4 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-06/0.1585, allocations: 4.375 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-06/0.1585, allocations: 4.312 kB / 0.6826 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.778e-05/0.1586, allocations: 42.25 kB / 0.6826 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.1586, allocations: 7.938 kB / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.1586, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-06/0.1586, allocations: 0 / 0.6826 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.1586, allocations: 19.98 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.1588, allocations: 157.7 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1605, allocations: 266.4 kB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.1605, allocations: 20.86 kB / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.1606, allocations: 4 kB / 0.6831 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1606, allocations: 38.55 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1606, allocations: 0 / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001168/0.1607, allocations: 65.53 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.1608, allocations: 51.41 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.1608, allocations: 97.86 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.1608, allocations: 33.64 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.1609, allocations: 80.14 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1609, allocations: 11.83 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1609, allocations: 17.72 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.766e-05/0.161, allocations: 314.8 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.161, allocations: 8 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.161, allocations: 8 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/0.1611, allocations: 28.97 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1611, allocations: 4 kB / 0.6838 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.38e-05/0.1612, allocations: 53.61 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.1612, allocations: 7.938 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1612, allocations: 7.984 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.81e-06/0.1612, allocations: 336 / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.1613, allocations: 7.938 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.1613, allocations: 0 / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.1613, allocations: 3.938 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1613, allocations: 4 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.1614, allocations: 111.2 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.1614, allocations: 7.875 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.1614, allocations: 15.48 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1614, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1614, allocations: 0 / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1614, allocations: 3.984 kB / 0.684 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.619e-05/0.1615, allocations: 153.7 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1616, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.1616, allocations: 11.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1616, allocations: 3.938 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.1616, allocations: 4 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1616, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1616, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.44e-05/0.1617, allocations: 77.06 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.1618, allocations: 85.02 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1618, allocations: 11.92 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.1619, allocations: 4 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.1619, allocations: 7.938 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1619, allocations: 4 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.1619, allocations: 75.28 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1619, allocations: 0 / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001668/0.1621, allocations: 8 kB / 0.6844 GB, free: 12.01 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 (4): * Single equations (assignments): 4 * 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.0003005/0.1624, allocations: 0.6223 MB / 0.685 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.932e-05/0.1625, allocations: 24 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1625, allocations: 0 / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.1625, allocations: 15.98 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.1627, allocations: 12.73 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.163, allocations: 152.3 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.1632, allocations: 0.6768 MB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.081e-05/0.1633, allocations: 4 kB / 0.6859 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.1633, allocations: 7.438 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1633, allocations: 4 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.05/1.213, allocations: 1.312 MB / 0.6872 GB, free: 9.215 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/10.14, allocations: 15.92 kB / 0.6872 GB, free: 9.199 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)