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.0008234/0.0008234, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007898/0.0007898, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8551/0.8551, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001462/0.001462, allocations: 248.7 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6547/0.6547, allocations: 138.4 MB / 454.3 MB, free: 30.11 MB / 410.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.204e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001747/0.001769, allocations: 1.314 MB / 0.6476 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2322/0.234, allocations: 0.5909 MB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.234, allocations: 0 / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.234, allocations: 1.781 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.2341, allocations: 9.219 kB / 0.6482 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.2346, allocations: 108 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.2347, allocations: 28.81 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.2347, allocations: 3.469 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.2347, allocations: 18.59 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.2348, allocations: 8.844 kB / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.2348, allocations: 0 / 0.6483 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.2351, allocations: 140.8 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.2351, allocations: 3.969 kB / 0.6485 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.2351, allocations: 15.62 kB / 0.6485 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.2353, allocations: 112.3 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2353, allocations: 2.438 kB / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2353, allocations: 0 / 0.6486 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2353, allocations: 0 / 0.6486 GB, free: 55.86 MB / 0.5573 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.000357/0.2357, allocations: 279.2 kB / 0.6489 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2357, allocations: 13.53 kB / 0.6489 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.2357, allocations: 33.59 kB / 0.6489 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.236, allocations: 34.5 kB / 0.649 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.87e-05/0.2361, allocations: 108.8 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2361, allocations: 1.875 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.2361, allocations: 4.094 kB / 0.6491 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2362, allocations: 82.55 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.2362, allocations: 6.031 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2363, allocations: 0.9375 kB / 0.6491 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2363, allocations: 5.844 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.2364, allocations: 28.33 kB / 0.6492 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.2365, allocations: 133.8 kB / 0.6493 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.2367, allocations: 70.14 kB / 0.6494 GB, free: 55.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.2368, allocations: 24.75 kB / 0.6494 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.2368, allocations: 2.688 kB / 0.6494 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2368, allocations: 36.33 kB / 0.6494 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.2368, allocations: 0 / 0.6494 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.001788/0.2386, allocations: 0.5029 MB / 0.6499 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2386, allocations: 52.97 kB / 0.65 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.784e-05/0.2386, allocations: 97.31 kB / 0.6501 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2386, allocations: 27.86 kB / 0.6501 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.235e-05/0.2387, allocations: 82.78 kB / 0.6502 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2387, allocations: 22.28 kB / 0.6502 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.2387, allocations: 27.22 kB / 0.6502 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.062e-05/0.2388, allocations: 318.1 kB / 0.6505 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.2389, allocations: 38.98 kB / 0.6506 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.2389, allocations: 35.39 kB / 0.6506 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.2391, allocations: 87.61 kB / 0.6507 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2391, allocations: 1.062 kB / 0.6507 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002134/0.2393, allocations: 123.8 kB / 0.6508 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2393, allocations: 6.156 kB / 0.6508 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2393, allocations: 1.312 kB / 0.6508 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2393, allocations: 4.625 kB / 0.6508 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2395, allocations: 25.94 kB / 0.6508 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2395, allocations: 3.75 kB / 0.6508 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.2395, allocations: 8.688 kB / 0.6508 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.2395, allocations: 4.328 kB / 0.6509 GB, free: 54.31 MB / 0.5573 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 5.16e-05/0.2396, allocations: 110.8 kB / 0.651 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2396, allocations: 3.438 kB / 0.651 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.2397, allocations: 17.02 kB / 0.651 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2397, allocations: 5.719 kB / 0.651 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2397, allocations: 0 / 0.651 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2397, allocations: 5.953 kB / 0.651 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.885e-05/0.2398, allocations: 152.2 kB / 0.6511 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2398, allocations: 1.203 kB / 0.6511 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2399, allocations: 23.66 kB / 0.6512 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2399, allocations: 2.094 kB / 0.6512 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.2399, allocations: 4.922 kB / 0.6512 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2399, allocations: 3.938 kB / 0.6512 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2399, allocations: 4.188 kB / 0.6512 GB, free: 54.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.2402, allocations: 192 kB / 0.6514 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.2402, allocations: 3.047 kB / 0.6514 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2402, allocations: 3.812 kB / 0.6514 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.2403, allocations: 17.98 kB / 0.6514 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.2403, allocations: 7.125 kB / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2403, allocations: 8.812 kB / 0.6514 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.262e-05/0.2404, allocations: 78.58 kB / 0.6515 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2404, allocations: 0 / 0.6515 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001885/0.2405, allocations: 34.47 kB / 0.6515 GB, free: 53.87 MB / 0.5573 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.0004852/0.241, allocations: 0.7469 MB / 0.6522 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.2412, allocations: 84.94 kB / 0.6523 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2412, allocations: 0 / 0.6523 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.2413, allocations: 50.41 kB / 0.6524 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.2415, allocations: 9.922 kB / 0.6524 GB, free: 53.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.2426, allocations: 1.36 MB / 0.6537 GB, free: 52.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.097e-05/0.2427, allocations: 64.33 kB / 0.6538 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.2427, allocations: 28.91 kB / 0.6538 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.2428, allocations: 19.41 kB / 0.6538 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/0.2428, allocations: 0 / 0.6538 GB, free: 52.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.2589, allocations: 3.24 MB / 0.657 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.665, allocations: 13.86 kB / 0.657 GB, free: 51.2 MB / 0.5573 GB " [Timeout remaining time 653] (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 os._exit(0), Time elapsed: 9.153968321159482] Failed to read output from testmodel.py, exit status != 0: 6.744040874764323 6.75177148 6.5149221 Calling exit ...