Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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.001392/0.001392, allocations: 122.8 kB / 17.84 MB, free: 5.254 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.001659/0.001659, allocations: 198.3 kB / 20.79 MB, free: 2.316 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.562/1.562, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9999/0.9999, allocations: 150 MB / 460.2 MB, free: 5.59 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002241/0.002241, allocations: 69.19 kB / 0.6368 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1924, allocations: 89.13 MB / 0.7238 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.003114/0.1955, allocations: 1.336 MB / 0.7251 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.7315/0.9271, allocations: 151.4 MB / 0.8729 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.9272, allocations: 1.125 kB / 0.8729 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 6.369e-05/0.9272, allocations: 5.859 kB / 0.8729 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.9274, allocations: 16.94 kB / 0.873 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.9288, allocations: 336.6 kB / 0.8733 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.9289, allocations: 67.53 kB / 0.8734 GB, free: 3.055 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.929, allocations: 10.67 kB / 0.8734 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.695e-05/0.929, allocations: 35.14 kB / 0.8734 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.9292, allocations: 32.86 kB / 0.8734 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.9292, allocations: 4.094 kB / 0.8734 GB, free: 3.047 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009947/0.9302, allocations: 443 kB / 0.8739 GB, free: 3.043 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.9302, allocations: 16.42 kB / 0.8739 GB, free: 3.043 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.9303, allocations: 33.42 kB / 0.8739 GB, free: 3.039 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.9307, allocations: 158.5 kB / 0.8741 GB, free: 3.031 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9307, allocations: 0 / 0.8741 GB, free: 3.031 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9307, allocations: 2.344 kB / 0.8741 GB, free: 3.031 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.9307, allocations: 0 / 0.8741 GB, free: 3.031 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008097/0.9315, allocations: 392.8 kB / 0.8744 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.9316, allocations: 10.14 kB / 0.8744 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.9316, allocations: 2.969 kB / 0.8744 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.9316, allocations: 38.62 kB / 0.8745 GB, free: 18.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004831/0.9321, allocations: 38.66 kB / 0.8745 GB, free: 18.61 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.9323, allocations: 174.1 kB / 0.8747 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9323, allocations: 7.188 kB / 0.8747 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.9323, allocations: 9.141 kB / 0.8747 GB, free: 18.41 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.9326, allocations: 79.67 kB / 0.8748 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9326, allocations: 0.625 kB / 0.8748 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.9326, allocations: 2.406 kB / 0.8748 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.9326, allocations: 1.594 kB / 0.8748 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.9327, allocations: 45.25 kB / 0.8748 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.933, allocations: 193.1 kB / 0.875 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.9333, allocations: 83.34 kB / 0.8751 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.9333, allocations: 27.72 kB / 0.8751 GB, free: 18.15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.9336, allocations: 177.6 kB / 0.8753 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.9337, allocations: 40.59 kB / 0.8753 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.9337, allocations: 0.8438 kB / 0.8753 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001504/0.9352, allocations: 0.5545 MB / 0.8759 GB, free: 17.66 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.9352, allocations: 54.86 kB / 0.8759 GB, free: 17.59 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.9353, allocations: 104.5 kB / 0.876 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.9353, allocations: 31.64 kB / 0.876 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.9354, allocations: 80.52 kB / 0.8761 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.9354, allocations: 76.67 kB / 0.8762 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.9355, allocations: 37.39 kB / 0.8762 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9357, allocations: 321.3 kB / 0.8765 GB, free: 17 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.9358, allocations: 36.28 kB / 0.8766 GB, free: 17 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.9359, allocations: 74.77 kB / 0.8766 GB, free: 16.97 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.936, allocations: 115 kB / 0.8767 GB, free: 16.94 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.936, allocations: 0.6094 kB / 0.8767 GB, free: 16.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002237/0.9363, allocations: 157.8 kB / 0.8769 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.9363, allocations: 6.312 kB / 0.8769 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9363, allocations: 0 / 0.8769 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.9363, allocations: 5.203 kB / 0.8769 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.9365, allocations: 39.91 kB / 0.8769 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.9365, allocations: 7.875 kB / 0.877 GB, free: 16.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.9365, allocations: 3.516 kB / 0.877 GB, free: 16.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.9365, allocations: 9.125 kB / 0.877 GB, free: 16.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001087/0.9367, allocations: 123.8 kB / 0.8771 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.9367, allocations: 7.594 kB / 0.8771 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.9367, allocations: 26.84 kB / 0.8771 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.9367, allocations: 0.75 kB / 0.8771 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9367, allocations: 3.938 kB / 0.8771 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9367, allocations: 4.922 kB / 0.8771 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.9369, allocations: 190.4 kB / 0.8773 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.9369, allocations: 4.234 kB / 0.8773 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.9371, allocations: 41.23 kB / 0.8774 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.9371, allocations: 0 / 0.8774 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.9371, allocations: 7.75 kB / 0.8774 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9371, allocations: 0 / 0.8774 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9372, allocations: 4.812 kB / 0.8774 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.9375, allocations: 208.5 kB / 0.8776 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.9375, allocations: 92.34 kB / 0.8777 GB, free: 16.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.9376, allocations: 3.562 kB / 0.8777 GB, free: 16.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.9377, allocations: 11 kB / 0.8777 GB, free: 16.42 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.9377, allocations: 13.25 kB / 0.8777 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.9377, allocations: 10.83 kB / 0.8777 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.9378, allocations: 77.09 kB / 0.8778 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.9378, allocations: 0 / 0.8778 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002323/0.938, allocations: 29.03 kB / 0.8778 GB, free: 16.34 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006517/0.9387, allocations: 0.7533 MB / 0.8785 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.9389, allocations: 102.7 kB / 0.8786 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9389, allocations: 4.812 kB / 0.8786 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.802e-05/0.9389, allocations: 49.17 kB / 0.8787 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9392, allocations: 19.06 kB / 0.8787 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.9412, allocations: 1.827 MB / 0.8805 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.9415, allocations: 0.6977 MB / 0.8812 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.9416, allocations: 22.41 kB / 0.8812 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.9417, allocations: 27.03 kB / 0.8812 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.9417, allocations: 1.094 kB / 0.8812 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.9633, allocations: 2.478 MB / 0.8836 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.334, allocations: 6.172 kB / 0.8836 GB, free: 13.18 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.361804664018564] Failed to read output from testmodel.py, exit status != 0: 9.462619275029283 9.481521085 8.548172552 Calling exit ...