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.001325/0.001325, allocations: 104.1 kB / 16.45 MB, free: 6.449 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.002166/0.002166, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.513/1.513, allocations: 230.6 MB / 252.8 MB, free: 8.941 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 1.019/1.019, allocations: 145 MB / 453.8 MB, free: 1.129 MB / 350.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.002018/0.002018, allocations: 66.03 kB / 0.628 GB, free: 10.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2092, allocations: 87.82 MB / 0.7138 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.003259/0.2124, allocations: 1.348 MB / 0.7151 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5846/0.797, allocations: 151.4 MB / 0.8629 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.797, allocations: 0 / 0.8629 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.7971, allocations: 7.984 kB / 0.8629 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.7972, allocations: 11.86 kB / 0.8629 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.7983, allocations: 343 kB / 0.8633 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.7984, allocations: 69.17 kB / 0.8633 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.7985, allocations: 0 / 0.8633 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.452e-05/0.7985, allocations: 35.89 kB / 0.8634 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.7986, allocations: 35.89 kB / 0.8634 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.7986, allocations: 0 / 0.8634 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009141/0.7996, allocations: 445.5 kB / 0.8638 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.7996, allocations: 15.98 kB / 0.8638 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.7997, allocations: 31.84 kB / 0.8639 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.8, allocations: 150.7 kB / 0.864 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8, allocations: 3.984 kB / 0.864 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8, allocations: 4 kB / 0.864 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.8, allocations: 0 / 0.864 GB, free: 6.551 MB / 0.6387 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.0006103/0.8006, allocations: 391 kB / 0.8644 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.8007, allocations: 12.03 kB / 0.8644 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.8007, allocations: 34.75 kB / 0.8644 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.8012, allocations: 46.19 kB / 0.8645 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.8013, allocations: 164.3 kB / 0.8646 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8013, allocations: 12.81 kB / 0.8647 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.8014, allocations: 11.95 kB / 0.8647 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.8016, allocations: 77.64 kB / 0.8647 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8016, allocations: 3.938 kB / 0.8647 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.8016, allocations: 8 kB / 0.8648 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8016, allocations: 0 / 0.8648 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.8017, allocations: 39.95 kB / 0.8648 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.8019, allocations: 181.6 kB / 0.865 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.8022, allocations: 94.73 kB / 0.8651 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.8022, allocations: 28.78 kB / 0.8651 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.8025, allocations: 178.2 kB / 0.8653 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.8025, allocations: 38.5 kB / 0.8653 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 4.338e-06/0.8025, allocations: 5.297 kB / 0.8653 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001466/0.804, allocations: 0.5466 MB / 0.8658 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.804, allocations: 55.41 kB / 0.8659 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.8041, allocations: 101.8 kB / 0.866 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.8042, allocations: 33.7 kB / 0.866 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.8042, allocations: 80.52 kB / 0.8661 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.8043, allocations: 71.39 kB / 0.8662 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.8043, allocations: 41.64 kB / 0.8662 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8045, allocations: 322.8 kB / 0.8665 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/0.8046, allocations: 31.98 kB / 0.8665 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.8047, allocations: 78.58 kB / 0.8666 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.8048, allocations: 115.3 kB / 0.8667 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8048, allocations: 0 / 0.8667 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002354/0.8051, allocations: 150.3 kB / 0.8669 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8051, allocations: 7.938 kB / 0.8669 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.8051, allocations: 3.984 kB / 0.8669 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.8051, allocations: 4 kB / 0.8669 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.8053, allocations: 43.92 kB / 0.8669 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.8053, allocations: 0 / 0.8669 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.8054, allocations: 15.94 kB / 0.8669 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.8054, allocations: 6.344 kB / 0.8669 GB, free: 3.242 MB / 0.6387 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.0001043/0.8055, allocations: 121.8 kB / 0.8671 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.8055, allocations: 7.953 kB / 0.8671 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.8056, allocations: 16.44 kB / 0.8671 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8056, allocations: 4 kB / 0.8671 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.8056, allocations: 0 / 0.8671 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.8056, allocations: 10.8 kB / 0.8671 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.8058, allocations: 197.6 kB / 0.8673 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8058, allocations: 0 / 0.8673 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.806, allocations: 39.98 kB / 0.8673 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.806, allocations: 0 / 0.8673 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.806, allocations: 3.938 kB / 0.8673 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.806, allocations: 4 kB / 0.8673 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.806, allocations: 0 / 0.8673 GB, free: 2.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.8064, allocations: 218.9 kB / 0.8675 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.8064, allocations: 89.05 kB / 0.8676 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8065, allocations: 12.06 kB / 0.8676 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.8066, allocations: 4 kB / 0.8676 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.8066, allocations: 15.92 kB / 0.8677 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.8066, allocations: 4 kB / 0.8677 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.8067, allocations: 87.27 kB / 0.8677 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.8067, allocations: 0 / 0.8677 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002236/0.8069, allocations: 24 kB / 0.8678 GB, free: 2.309 MB / 0.6387 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.0006834/0.8076, allocations: 0.7504 MB / 0.8685 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.8078, allocations: 103.9 kB / 0.8686 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8078, allocations: 0 / 0.8686 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.354e-05/0.8079, allocations: 43.92 kB / 0.8686 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.8082, allocations: 30.92 kB / 0.8687 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.8103, allocations: 1.809 MB / 0.8704 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.8106, allocations: 0.7086 MB / 0.8711 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.8107, allocations: 20.62 kB / 0.8711 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.8108, allocations: 27.42 kB / 0.8712 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.8108, allocations: 4 kB / 0.8712 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.8394, allocations: 2.452 MB / 0.8736 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.878, allocations: 6.812 kB / 0.8736 GB, free: 12.31 MB / 0.6544 GB " [Timeout remaining time 651] (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: 12.831704930009437] Failed to read output from testmodel.py, exit status != 0: 8.94541080199997 8.959057736 8.156013509 Calling exit ...