Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 221.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8407/0.8407, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 66.53 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.175, allocations: 85.9 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003065/0.1781, allocations: 1.286 MB / 0.7037 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000657/0.1787, allocations: 307.4 kB / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.1788, allocations: 0 / 0.704 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1788, allocations: 4 kB / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.1788, allocations: 3.938 kB / 0.704 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1792, allocations: 47.75 kB / 0.704 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.1792, allocations: 27.91 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.1793, allocations: 4 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.1793, allocations: 4 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.1794, allocations: 11.94 kB / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1794, allocations: 0 / 0.7041 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1795, allocations: 51.94 kB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1796, allocations: 4 kB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1796, allocations: 4 kB / 0.7041 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1797, allocations: 52.05 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1797, allocations: 0 / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1797, allocations: 0 / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1797, allocations: 11.94 kB / 0.7042 GB, free: 15.56 MB / 0.5294 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.0004107/0.1802, allocations: 258.3 kB / 0.7044 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1802, allocations: 8.031 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.1802, allocations: 34.75 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.1805, allocations: 20.91 kB / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/0.1806, allocations: 102.5 kB / 0.7046 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1806, allocations: 4.375 kB / 0.7046 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.1806, allocations: 4.375 kB / 0.7046 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1807, allocations: 42.25 kB / 0.7047 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1807, allocations: 7.875 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1807, allocations: 4 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1807, allocations: 0 / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.266e-05/0.1808, allocations: 19.92 kB / 0.7047 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1809, allocations: 132.7 kB / 0.7048 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.183, allocations: 266.4 kB / 0.7051 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.183, allocations: 20.86 kB / 0.7051 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.183, allocations: 0 / 0.7051 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1831, allocations: 38.55 kB / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1831, allocations: 0 / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.1833, allocations: 73.52 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1833, allocations: 51.41 kB / 0.7052 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.1834, allocations: 93.86 kB / 0.7053 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1834, allocations: 25.7 kB / 0.7054 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.1834, allocations: 80.14 kB / 0.7054 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1835, allocations: 11.94 kB / 0.7054 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1835, allocations: 21.8 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1836, allocations: 314.8 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.1837, allocations: 12 kB / 0.7058 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.1837, allocations: 8 kB / 0.7058 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.1837, allocations: 28.84 kB / 0.7058 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1837, allocations: 0 / 0.7058 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.794e-05/0.1838, allocations: 49.64 kB / 0.7059 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1838, allocations: 15.92 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1839, allocations: 0 / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1839, allocations: 4 kB / 0.7059 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.1839, allocations: 4 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1839, allocations: 0 / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.184, allocations: 4 kB / 0.7059 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.184, allocations: 4 kB / 0.7059 GB, free: 13.64 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.86e-05/0.184, allocations: 113.8 kB / 0.706 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.1841, allocations: 7.938 kB / 0.706 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.1841, allocations: 7.531 kB / 0.706 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1841, allocations: 0 / 0.706 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1841, allocations: 4 kB / 0.706 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1841, allocations: 3.984 kB / 0.706 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1842, allocations: 124.8 kB / 0.7061 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1842, allocations: 3.938 kB / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.1843, allocations: 11.92 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1843, allocations: 3.938 kB / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.1843, allocations: 0 / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1843, allocations: 0 / 0.7062 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1843, allocations: 7.938 kB / 0.7062 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1844, allocations: 81.45 kB / 0.7062 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1845, allocations: 4 kB / 0.7062 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1845, allocations: 7.922 kB / 0.7063 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.1845, allocations: 7.984 kB / 0.7063 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.1846, allocations: 0 / 0.7063 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1846, allocations: 0 / 0.7063 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.1846, allocations: 79.28 kB / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1846, allocations: 0 / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001859/0.1848, allocations: 8 kB / 0.7063 GB, free: 13.1 MB / 0.5294 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 (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.00044/0.1852, allocations: 0.6223 MB / 0.707 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.1853, allocations: 16 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1853, allocations: 0 / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.1854, allocations: 19.92 kB / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1856, allocations: 15.17 kB / 0.707 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.1861, allocations: 144.6 kB / 0.7071 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1864, allocations: 0.6805 MB / 0.7078 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.1864, allocations: 4 kB / 0.7078 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.1865, allocations: 15.44 kB / 0.7078 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.1865, allocations: 0 / 0.7078 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.2132, allocations: 1.439 MB / 0.7092 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.15, allocations: 6.25 kB / 0.7092 GB, free: 10.19 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.66901544504799] Failed to read output from testmodel.py, exit status != 0: 11.25444511603564 11.283222696 11.097858881 Calling exit ...