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.001405/0.001405, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001407/0.001407, allocations: 218.2 kB / 23.05 MB, free: 5.074 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.002578/0.002578, allocations: 287.4 kB / 313.5 MB, free: 2.859 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.249/1.249, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002787/0.002787, allocations: 95.77 kB / 0.7404 GB, free: 28.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1966, allocations: 95.38 MB / 0.8335 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002559/0.1992, allocations: 1.321 MB / 0.8348 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2003, allocations: 0.6451 MB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.2003, allocations: 4 kB / 0.8354 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.2003, allocations: 7.922 kB / 0.8354 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.2004, allocations: 4 kB / 0.8355 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.2008, allocations: 115.4 kB / 0.8356 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.686e-05/0.2009, allocations: 27.86 kB / 0.8356 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.2009, allocations: 0 / 0.8356 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.201, allocations: 12 kB / 0.8356 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.201, allocations: 15.91 kB / 0.8356 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2011, allocations: 3.938 kB / 0.8356 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.2014, allocations: 151.8 kB / 0.8358 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.2014, allocations: 3.984 kB / 0.8358 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.2014, allocations: 11.98 kB / 0.8358 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2016, allocations: 99.98 kB / 0.8359 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2016, allocations: 0 / 0.8359 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2016, allocations: 4 kB / 0.8359 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2016, allocations: 3.938 kB / 0.8359 GB, free: 6.23 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.0004962/0.2021, allocations: 274.1 kB / 0.8361 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2022, allocations: 17.34 kB / 0.8362 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.279e-05/0.2022, allocations: 4.125 kB / 0.8362 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.2022, allocations: 30.75 kB / 0.8362 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.2027, allocations: 32.89 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2028, allocations: 110.5 kB / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2028, allocations: 4.375 kB / 0.8363 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2028, allocations: 4.375 kB / 0.8363 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.203, allocations: 57.97 kB / 0.8364 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.203, allocations: 0 / 0.8364 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.203, allocations: 4 kB / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.203, allocations: 0 / 0.8364 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.2032, allocations: 31.91 kB / 0.8364 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.2034, allocations: 144.7 kB / 0.8366 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2037, allocations: 66.53 kB / 0.8366 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.999e-05/0.2038, allocations: 20.94 kB / 0.8366 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2038, allocations: 4 kB / 0.8367 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2038, allocations: 38.5 kB / 0.8367 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2038, allocations: 0 / 0.8367 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.003259/0.2071, allocations: 0.5049 MB / 0.8372 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.2071, allocations: 51.41 kB / 0.8372 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.2072, allocations: 93.86 kB / 0.8373 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2072, allocations: 29.7 kB / 0.8374 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.2073, allocations: 80.14 kB / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.2073, allocations: 19.8 kB / 0.8374 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.2074, allocations: 29.69 kB / 0.8375 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2076, allocations: 314.8 kB / 0.8378 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.2077, allocations: 40.09 kB / 0.8378 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2078, allocations: 43.94 kB / 0.8379 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.2081, allocations: 72.83 kB / 0.8379 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2081, allocations: 4 kB / 0.8379 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003678/0.2085, allocations: 129.5 kB / 0.8381 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2085, allocations: 7.984 kB / 0.8381 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2085, allocations: 7.984 kB / 0.8381 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2085, allocations: 0 / 0.8381 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2087, allocations: 19.97 kB / 0.8381 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2087, allocations: 4 kB / 0.8381 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.2089, allocations: 15.94 kB / 0.8381 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.2089, allocations: 3.984 kB / 0.8381 GB, free: 3.727 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 9.882e-05/0.209, allocations: 109.8 kB / 0.8382 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.209, allocations: 3.938 kB / 0.8382 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.2091, allocations: 16.12 kB / 0.8382 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2091, allocations: 4 kB / 0.8382 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2091, allocations: 0 / 0.8382 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2091, allocations: 0 / 0.8382 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.2093, allocations: 162.6 kB / 0.8384 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.2093, allocations: 3.938 kB / 0.8384 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.2095, allocations: 23.91 kB / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2095, allocations: 8 kB / 0.8384 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2095, allocations: 3.984 kB / 0.8384 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.2095, allocations: 0 / 0.8384 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2095, allocations: 0 / 0.8384 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.2101, allocations: 193 kB / 0.8386 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.2101, allocations: 7.891 kB / 0.8386 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.2102, allocations: 4 kB / 0.8386 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.2103, allocations: 15.95 kB / 0.8386 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.2103, allocations: 0 / 0.8386 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.2104, allocations: 7.984 kB / 0.8386 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.204e-05/0.2104, allocations: 79.34 kB / 0.8387 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2104, allocations: 4 kB / 0.8387 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002569/0.2107, allocations: 31.88 kB / 0.8388 GB, free: 2.984 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.0009964/0.2117, allocations: 0.7568 MB / 0.8395 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.212, allocations: 87.86 kB / 0.8396 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.212, allocations: 4.062 kB / 0.8396 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.2122, allocations: 43.95 kB / 0.8396 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.2124, allocations: 4.25 kB / 0.8396 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2147, allocations: 1.365 MB / 0.841 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.2151, allocations: 0.6807 MB / 0.8416 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.2152, allocations: 27.97 kB / 0.8417 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.05e-05/0.2153, allocations: 23.42 kB / 0.8417 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.2153, allocations: 3.938 kB / 0.8417 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.2408, allocations: 2.649 MB / 0.8443 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 12.5 kB / 0.8443 GB, free: 13.41 MB / 0.5919 GB " [Timeout remaining time 649] (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.560321246040985] Failed to read output from testmodel.py, exit status != 0: 11.474941622000188 11.492542866 11.287319094 Calling exit ...