Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001815/0.001815, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002287/0.002287, allocations: 212.3 kB / 23.03 MB, free: 4.922 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002772/0.002772, allocations: 289.6 kB / 313.5 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002825/0.002825, allocations: 101 kB / 0.7403 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1957, allocations: 95.4 MB / 0.8334 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0029/0.1986, allocations: 1.298 MB / 0.8347 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1998, allocations: 0.5984 MB / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.1998, allocations: 0 / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.1998, allocations: 0 / 0.8353 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.1999, allocations: 7.875 kB / 0.8353 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.2003, allocations: 111.5 kB / 0.8354 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.2004, allocations: 27.86 kB / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2005, allocations: 4 kB / 0.8354 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.85e-05/0.2005, allocations: 11.97 kB / 0.8354 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.2006, allocations: 15.92 kB / 0.8355 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2006, allocations: 4 kB / 0.8355 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.2008, allocations: 135.8 kB / 0.8356 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.2009, allocations: 4 kB / 0.8356 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.2009, allocations: 11.94 kB / 0.8356 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2011, allocations: 108 kB / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2011, allocations: 0 / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2011, allocations: 0 / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2011, allocations: 0 / 0.8357 GB, free: 5.926 MB / 0.5762 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.0004964/0.2016, allocations: 282.1 kB / 0.836 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2016, allocations: 9.938 kB / 0.836 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.281e-05/0.2017, allocations: 4.188 kB / 0.836 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.2018, allocations: 34.73 kB / 0.836 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004494/0.2022, allocations: 32.91 kB / 0.8361 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.2023, allocations: 110.5 kB / 0.8362 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2024, allocations: 4.359 kB / 0.8362 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.2024, allocations: 8.359 kB / 0.8362 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.2026, allocations: 83.67 kB / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2026, allocations: 3.938 kB / 0.8363 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.2026, allocations: 8 kB / 0.8363 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2026, allocations: 0 / 0.8363 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2027, allocations: 31.97 kB / 0.8363 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.2029, allocations: 128.7 kB / 0.8364 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2033, allocations: 66.53 kB / 0.8365 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.2033, allocations: 24.94 kB / 0.8365 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2034, allocations: 4 kB / 0.8365 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.2034, allocations: 42.44 kB / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2034, allocations: 0 / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.003616/0.207, allocations: 0.4968 MB / 0.837 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.2071, allocations: 55.39 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.262e-05/0.2071, allocations: 97.86 kB / 0.8372 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2072, allocations: 25.7 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.2072, allocations: 84.14 kB / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2073, allocations: 23.78 kB / 0.8373 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.2073, allocations: 25.69 kB / 0.8373 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.2075, allocations: 318.8 kB / 0.8376 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.2077, allocations: 31.97 kB / 0.8377 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2078, allocations: 40.09 kB / 0.8377 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.2081, allocations: 88.75 kB / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.2081, allocations: 0 / 0.8378 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003533/0.2084, allocations: 129.7 kB / 0.8379 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2085, allocations: 4 kB / 0.8379 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2085, allocations: 7.922 kB / 0.8379 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2085, allocations: 0 / 0.8379 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.2087, allocations: 23.97 kB / 0.838 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2087, allocations: 0 / 0.838 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2089, allocations: 8 kB / 0.838 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2089, allocations: 7.984 kB / 0.838 GB, free: 3.387 MB / 0.5762 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 (7): * Single equations (assignments): 7 * 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 0.0001017/0.209, allocations: 113.8 kB / 0.8381 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.209, allocations: 11.94 kB / 0.8381 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.2091, allocations: 8.062 kB / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2091, allocations: 0 / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2091, allocations: 0 / 0.8381 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2091, allocations: 8.328 kB / 0.8381 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.2092, allocations: 154.6 kB / 0.8383 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2092, allocations: 7.938 kB / 0.8383 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.2095, allocations: 19.97 kB / 0.8383 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2095, allocations: 0 / 0.8383 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2095, allocations: 7.984 kB / 0.8383 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2095, allocations: 3.984 kB / 0.8383 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2095, allocations: 0 / 0.8383 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/0.21, allocations: 189.1 kB / 0.8385 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.2101, allocations: 11.92 kB / 0.8385 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.2101, allocations: 11.88 kB / 0.8385 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2103, allocations: 11.98 kB / 0.8385 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.2103, allocations: 0 / 0.8385 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2103, allocations: 12.05 kB / 0.8385 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.833e-05/0.2103, allocations: 75.28 kB / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2103, allocations: 0 / 0.8386 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002351/0.2106, allocations: 35.92 kB / 0.8386 GB, free: 2.641 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0009479/0.2115, allocations: 0.749 MB / 0.8394 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.2119, allocations: 87.86 kB / 0.8394 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2119, allocations: 0 / 0.8394 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.2121, allocations: 48.02 kB / 0.8395 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2123, allocations: 11.94 kB / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.2147, allocations: 1.352 MB / 0.8408 GB, free: 292 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.2147, allocations: 63.34 kB / 0.8409 GB, free: 208 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.2149, allocations: 32.03 kB / 0.8409 GB, free: 176 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.215, allocations: 23.41 kB / 0.8409 GB, free: 156 kB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.215, allocations: 0 / 0.8409 GB, free: 156 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.2418, allocations: 2.734 MB / 0.8436 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.43, allocations: 9.312 kB / 0.8436 GB, free: 13.61 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-09 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.676639263983816] Failed to read output from testmodel.py, exit status != 0: 11.589142843033187 11.614770557 11.409231734 Calling exit ...