Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001437/0.001437, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001912/0.001912, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9284/0.9284, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002047/0.002047, allocations: 67.81 kB / 0.6331 GB, free: 6.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.177, allocations: 87.89 MB / 0.7189 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002726/0.1797, allocations: 1.333 MB / 0.7202 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5258/0.7055, allocations: 130.1 MB / 0.8472 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.7056, allocations: 0 / 0.8472 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.7056, allocations: 0 / 0.8472 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.7057, allocations: 19.84 kB / 0.8472 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.7068, allocations: 326.7 kB / 0.8475 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.707, allocations: 71.69 kB / 0.8476 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.7071, allocations: 0 / 0.8476 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.7071, allocations: 29 kB / 0.8476 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.7072, allocations: 35.83 kB / 0.8477 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.7072, allocations: 8 kB / 0.8477 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007521/0.708, allocations: 370.8 kB / 0.848 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.708, allocations: 11.98 kB / 0.848 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.7081, allocations: 27.92 kB / 0.8481 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.7084, allocations: 152.2 kB / 0.8482 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7084, allocations: 0 / 0.8482 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7084, allocations: 0 / 0.8482 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.7084, allocations: 3.938 kB / 0.8482 GB, free: 6.738 MB / 0.6231 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.0004677/0.7088, allocations: 314 kB / 0.8485 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7089, allocations: 13.62 kB / 0.8485 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.7089, allocations: 38.75 kB / 0.8486 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.7093, allocations: 36.88 kB / 0.8486 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7094, allocations: 114.5 kB / 0.8487 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7094, allocations: 11.88 kB / 0.8487 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.7095, allocations: 11.95 kB / 0.8487 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.7098, allocations: 206.2 kB / 0.8489 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7098, allocations: 0 / 0.8489 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7098, allocations: 4 kB / 0.8489 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7098, allocations: 7.938 kB / 0.8489 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.7099, allocations: 43.95 kB / 0.849 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.7101, allocations: 148.7 kB / 0.8491 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.7103, allocations: 86.69 kB / 0.8492 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.7104, allocations: 24.84 kB / 0.8492 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.7106, allocations: 27.92 kB / 0.8493 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.7107, allocations: 34.89 kB / 0.8493 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.7107, allocations: 0 / 0.8493 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001366/0.712, allocations: 493 kB / 0.8498 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.7121, allocations: 51.41 kB / 0.8498 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.222e-05/0.7122, allocations: 101.7 kB / 0.8499 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.7122, allocations: 33.7 kB / 0.8499 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.7122, allocations: 80.52 kB / 0.85 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.7123, allocations: 79.5 kB / 0.8501 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.7124, allocations: 37.7 kB / 0.8501 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7125, allocations: 318.8 kB / 0.8504 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.7126, allocations: 39.91 kB / 0.8505 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.7127, allocations: 72.02 kB / 0.8505 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.7128, allocations: 117.1 kB / 0.8506 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7128, allocations: 0 / 0.8506 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002335/0.7131, allocations: 155.9 kB / 0.8508 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7131, allocations: 4 kB / 0.8508 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7131, allocations: 4 kB / 0.8508 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7131, allocations: 0 / 0.8508 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.7133, allocations: 47.92 kB / 0.8508 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7133, allocations: 0 / 0.8508 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/0.7133, allocations: 11.94 kB / 0.8509 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.7133, allocations: 4 kB / 0.8509 GB, free: 3.758 MB / 0.6231 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.0001072/0.7134, allocations: 129.8 kB / 0.851 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.7135, allocations: 9.891 kB / 0.851 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.7135, allocations: 16.47 kB / 0.851 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7135, allocations: 4 kB / 0.851 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7135, allocations: 0 / 0.851 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.7135, allocations: 7.922 kB / 0.851 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.7137, allocations: 160.7 kB / 0.8512 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7137, allocations: 0 / 0.8512 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.7139, allocations: 31.98 kB / 0.8512 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7139, allocations: 4 kB / 0.8512 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.7139, allocations: 4 kB / 0.8512 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7139, allocations: 0 / 0.8512 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7139, allocations: 0 / 0.8512 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.7143, allocations: 227.4 kB / 0.8514 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.7143, allocations: 15.92 kB / 0.8514 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.7144, allocations: 12 kB / 0.8515 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.7145, allocations: 8 kB / 0.8515 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.7145, allocations: 15.92 kB / 0.8515 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.7145, allocations: 11.92 kB / 0.8515 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.7146, allocations: 75.28 kB / 0.8516 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7146, allocations: 0 / 0.8516 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002233/0.7148, allocations: 32 kB / 0.8516 GB, free: 2.945 MB / 0.6231 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.0007198/0.7155, allocations: 0.7473 MB / 0.8523 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.7157, allocations: 101.6 kB / 0.8524 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.7157, allocations: 4 kB / 0.8524 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.7159, allocations: 45.81 kB / 0.8525 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.7161, allocations: 23.92 kB / 0.8525 GB, free: 2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.7181, allocations: 1.813 MB / 0.8543 GB, free: 96 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.394e-05/0.7182, allocations: 84.5 kB / 0.8543 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.7183, allocations: 20.64 kB / 0.8544 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.7184, allocations: 27.42 kB / 0.8544 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.7184, allocations: 0 / 0.8544 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.7502, allocations: 2.986 MB / 0.8573 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.08, allocations: 4.812 kB / 0.8573 GB, free: 13.11 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.887654482852668] Failed to read output from testmodel.py, exit status != 0: 12.188608379103243 12.2176524 11.504535375 Calling exit ...