Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 106.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002353/0.002353, allocations: 275.3 kB / 303 MB, free: 3.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 180.9 MB / 0.5261 GB, free: 2.77 MB / 382.1 MB " [Timeout remaining time 178] 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.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 99.84 kB / 0.7248 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6282, allocations: 94.16 MB / 0.8167 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002185/0.6304, allocations: 1.297 MB / 0.818 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1986/0.829, allocations: 148.1 MB / 0.9626 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.8291, allocations: 4 kB / 0.9626 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.8291, allocations: 0 / 0.9626 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.046e-05/0.8292, allocations: 3.938 kB / 0.9626 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.8296, allocations: 115.4 kB / 0.9627 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.8297, allocations: 23.92 kB / 0.9627 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.8297, allocations: 4 kB / 0.9627 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.8298, allocations: 7.984 kB / 0.9627 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.8298, allocations: 7.938 kB / 0.9628 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.8298, allocations: 3.938 kB / 0.9628 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.8303, allocations: 179.7 kB / 0.9629 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.8303, allocations: 0 / 0.9629 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.8303, allocations: 7.938 kB / 0.9629 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.8305, allocations: 106.6 kB / 0.963 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8305, allocations: 4 kB / 0.963 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8305, allocations: 3.938 kB / 0.963 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8305, allocations: 0 / 0.963 GB, free: 10.84 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004195/0.831, allocations: 355.2 kB / 0.9634 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.831, allocations: 12.03 kB / 0.9634 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.831, allocations: 38.62 kB / 0.9634 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.8316, allocations: 36.89 kB / 0.9635 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.8317, allocations: 168.1 kB / 0.9636 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.8318, allocations: 11.98 kB / 0.9636 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.8318, allocations: 0 / 0.9636 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.8319, allocations: 41.67 kB / 0.9637 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8319, allocations: 0 / 0.9637 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.832, allocations: 4 kB / 0.9637 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.832, allocations: 0 / 0.9637 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.8321, allocations: 19.97 kB / 0.9637 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.8325, allocations: 256.8 kB / 0.9639 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 5.959e-05/0.8325, allocations: 26.58 kB / 0.964 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.8325, allocations: 8.844 kB / 0.964 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.8326, allocations: 4.062 kB / 0.964 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.8326, allocations: 34.56 kB / 0.964 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8326, allocations: 4 kB / 0.964 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=2): time 0.0001464/0.8327, allocations: 37.64 kB / 0.9641 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.8328, allocations: 51.41 kB / 0.9641 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.8329, allocations: 121.8 kB / 0.9642 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.833, allocations: 25.7 kB / 0.9642 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.833, allocations: 84.09 kB / 0.9643 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.833, allocations: 4 kB / 0.9643 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.8331, allocations: 29.78 kB / 0.9644 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8332, allocations: 310.8 kB / 0.9647 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.354e-05/0.8333, allocations: 11.92 kB / 0.9647 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.8333, allocations: 11.98 kB / 0.9647 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.8334, allocations: 20.84 kB / 0.9647 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8334, allocations: 0 / 0.9647 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001787/0.8336, allocations: 65.89 kB / 0.9648 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.8336, allocations: 4 kB / 0.9648 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.8336, allocations: 48 / 0.9648 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.8336, allocations: 3.984 kB / 0.9648 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.8337, allocations: 11.98 kB / 0.9648 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.8337, allocations: 0 / 0.9648 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.8339, allocations: 11.92 kB / 0.9648 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.8339, allocations: 12 kB / 0.9648 GB, free: 8.809 MB / 0.7012 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 (3): * Single equations (assignments): 3 * 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 7.872e-05/0.834, allocations: 105.8 kB / 0.9649 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.834, allocations: 0 / 0.9649 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.834, allocations: 11.11 kB / 0.9649 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.834, allocations: 0 / 0.9649 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.834, allocations: 0 / 0.9649 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.834, allocations: 7.938 kB / 0.9649 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.8342, allocations: 157.6 kB / 0.9651 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8342, allocations: 0 / 0.9651 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.615e-05/0.8342, allocations: 8 kB / 0.9651 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.8342, allocations: 0 / 0.9651 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.8342, allocations: 0 / 0.9651 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8342, allocations: 0 / 0.9651 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.8342, allocations: 0 / 0.9651 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.8344, allocations: 147.4 kB / 0.9652 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.8344, allocations: 77.11 kB / 0.9653 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.8344, allocations: 0 / 0.9653 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.8345, allocations: 12.03 kB / 0.9653 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.8345, allocations: 3.938 kB / 0.9653 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.8345, allocations: 0 / 0.9653 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001018/0.8346, allocations: 91.25 kB / 0.9654 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8346, allocations: 0 / 0.9654 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002408/0.8349, allocations: 19.94 kB / 0.9654 GB, free: 8.09 MB / 0.7012 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 (2): * Single equations (assignments): 2 * 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.0005179/0.8354, allocations: 0.6812 MB / 0.9661 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.8355, allocations: 23.92 kB / 0.9661 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8355, allocations: 0 / 0.9661 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.8356, allocations: 3.984 kB / 0.9661 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.8359, allocations: 24.11 kB / 0.9661 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.8363, allocations: 153.1 kB / 0.9663 GB, free: 7.145 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8366, allocations: 0.6729 MB / 0.9669 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 6.787e-05/0.8367, allocations: 11.94 kB / 0.9669 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.8367, allocations: 15.42 kB / 0.967 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of SimCode: time 2.8e-07/0.8367, allocations: 0 / 0.967 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.8599, allocations: 1.617 MB / 0.9685 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.659, allocations: 8.547 kB / 0.9685 GB, free: 4.945 MB / 0.7012 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.604016535915434] Failed to read output from testmodel.py, exit status != 0: 8.7238753833808 8.737791003 7.904343018 Calling exit ...