Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0007751/0.0007751, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008975/0.0008975, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8587/0.8587, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001565/0.001565, allocations: 234.4 kB / 259.4 MB, free: 13.02 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.6464/0.6464, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.6462 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.003e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001634/0.001654, allocations: 1.295 MB / 0.6475 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3337/0.3354, allocations: 129.1 MB / 0.7736 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.3354, allocations: 4 kB / 0.7736 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.3355, allocations: 7.938 kB / 0.7736 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.264e-05/0.3355, allocations: 7.922 kB / 0.7736 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.3359, allocations: 96.2 kB / 0.7737 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.336, allocations: 35.84 kB / 0.7737 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.3361, allocations: 0 / 0.7737 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.3361, allocations: 23.92 kB / 0.7737 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.3362, allocations: 11.97 kB / 0.7737 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3362, allocations: 4 kB / 0.7738 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.3364, allocations: 79.75 kB / 0.7738 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.3364, allocations: 8 kB / 0.7738 GB, free: 8.539 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.3365, allocations: 11.92 kB / 0.7738 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.3366, allocations: 75.8 kB / 0.7739 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3366, allocations: 0 / 0.7739 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3366, allocations: 0 / 0.7739 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.3366, allocations: 0 / 0.7739 GB, free: 8.453 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003173/0.3369, allocations: 275 kB / 0.7742 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.337, allocations: 13.88 kB / 0.7742 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.069e-05/0.337, allocations: 38.75 kB / 0.7742 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.3371, allocations: 15.33 kB / 0.7742 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.347e-05/0.3372, allocations: 105.7 kB / 0.7743 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3372, allocations: 8.375 kB / 0.7744 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3372, allocations: 4.125 kB / 0.7744 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3374, allocations: 130.8 kB / 0.7745 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3374, allocations: 0.6562 kB / 0.7745 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3374, allocations: 4 kB / 0.7745 GB, free: 7.789 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3374, allocations: 0 / 0.7745 GB, free: 7.789 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.3374, allocations: 15.98 kB / 0.7745 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.3376, allocations: 138.1 kB / 0.7746 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.3377, allocations: 50.5 kB / 0.7747 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.3377, allocations: 16.8 kB / 0.7747 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3377, allocations: 4.656 kB / 0.7747 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3377, allocations: 34.55 kB / 0.7747 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.3377, allocations: 0 / 0.7747 GB, free: 7.473 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005951/0.3383, allocations: 295.7 kB / 0.775 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3383, allocations: 55.41 kB / 0.7751 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.3384, allocations: 101.8 kB / 0.7752 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.3384, allocations: 25.7 kB / 0.7752 GB, free: 6.945 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.3384, allocations: 91.92 kB / 0.7753 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.3385, allocations: 43.64 kB / 0.7753 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.3385, allocations: 25.72 kB / 0.7753 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.3386, allocations: 318.8 kB / 0.7757 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.3386, allocations: 19.98 kB / 0.7757 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.3386, allocations: 38.2 kB / 0.7757 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.517e-05/0.3387, allocations: 65.84 kB / 0.7758 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.3387, allocations: 0 / 0.7758 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.892e-05/0.3388, allocations: 97.7 kB / 0.7759 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3388, allocations: 4 kB / 0.7759 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3388, allocations: 0 / 0.7759 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3388, allocations: 3.984 kB / 0.7759 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.3389, allocations: 20 kB / 0.7759 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3389, allocations: 3.938 kB / 0.7759 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.3389, allocations: 8 kB / 0.7759 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.409e-06/0.3389, allocations: 0 / 0.7759 GB, free: 6.191 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.877e-05/0.339, allocations: 118.4 kB / 0.776 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.339, allocations: 7.984 kB / 0.776 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.339, allocations: 11.97 kB / 0.776 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.339, allocations: 0 / 0.776 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.339, allocations: 0 / 0.776 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.339, allocations: 5.375 kB / 0.776 GB, free: 6.043 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.017e-05/0.3391, allocations: 140.7 kB / 0.7762 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3391, allocations: 0 / 0.7762 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.3392, allocations: 27.98 kB / 0.7762 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3392, allocations: 0 / 0.7762 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3392, allocations: 0 / 0.7762 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3392, allocations: 3.938 kB / 0.7762 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3392, allocations: 4 kB / 0.7762 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3394, allocations: 142.7 kB / 0.7763 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-05/0.3394, allocations: 4.031 kB / 0.7763 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3394, allocations: 6.25 kB / 0.7764 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.3394, allocations: 4 kB / 0.7764 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.3395, allocations: 7.984 kB / 0.7764 GB, free: 5.652 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3395, allocations: 4 kB / 0.7764 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.3395, allocations: 75.28 kB / 0.7764 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3395, allocations: 0 / 0.7764 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001255/0.3396, allocations: 16 kB / 0.7765 GB, free: 5.559 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0003008/0.3399, allocations: 0.6793 MB / 0.7771 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.34, allocations: 51.97 kB / 0.7772 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.34, allocations: 0 / 0.7772 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.34, allocations: 32.19 kB / 0.7772 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.3402, allocations: 8 kB / 0.7772 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.3411, allocations: 1.392 MB / 0.7786 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.273e-05/0.3412, allocations: 72.08 kB / 0.7786 GB, free: 3.207 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.3412, allocations: 8.734 kB / 0.7786 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.3412, allocations: 24.48 kB / 0.7787 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.3412, allocations: 0 / 0.7787 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.3553, allocations: 2.375 MB / 0.781 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.364/6.72, allocations: 2.75 kB / 0.781 GB, free: 1.035 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.304716913029552] Failed to read output from testmodel.py, exit status != 0: 6.797744130715728 6.806856227 6.46828317 Calling exit ...