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.001281/0.001281, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.001373/0.001373, allocations: 156.5 kB / 23 MB, free: 4.949 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.374/1.374, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.8561/0.8561, allocations: 110.3 MB / 370.1 MB, free: 15.69 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") [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.002206/0.002206, allocations: 70.38 kB / 0.5483 GB, free: 13.34 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1737, allocations: 87.86 MB / 0.6341 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.00259/0.1763, allocations: 1.35 MB / 0.6354 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.4457/0.622, allocations: 130 MB / 0.7624 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.622, allocations: 0 / 0.7624 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.501e-05/0.6221, allocations: 6.094 kB / 0.7624 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.6222, allocations: 10.56 kB / 0.7624 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.6232, allocations: 339.6 kB / 0.7627 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.585e-05/0.6233, allocations: 64.66 kB / 0.7628 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.6233, allocations: 3.172 kB / 0.7628 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.6233, allocations: 28.02 kB / 0.7628 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.6234, allocations: 32.66 kB / 0.7628 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.6235, allocations: 6.531 kB / 0.7629 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.6242, allocations: 369.5 kB / 0.7632 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.219e-05/0.6242, allocations: 21.42 kB / 0.7632 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.6243, allocations: 25.52 kB / 0.7633 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.6246, allocations: 154.8 kB / 0.7634 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6246, allocations: 1.25 kB / 0.7634 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6246, allocations: 0 / 0.7634 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.6246, allocations: 0 / 0.7634 GB, free: 6.164 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.0003757/0.625, allocations: 317.3 kB / 0.7637 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.625, allocations: 9.062 kB / 0.7637 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.6254, allocations: 36.72 kB / 0.7637 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.339e-05/0.6255, allocations: 105.9 kB / 0.7638 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6255, allocations: 10.44 kB / 0.7639 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.6255, allocations: 17.91 kB / 0.7639 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.6257, allocations: 210.2 kB / 0.7641 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6257, allocations: 0.75 kB / 0.7641 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.6257, allocations: 1.469 kB / 0.7641 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6257, allocations: 1.406 kB / 0.7641 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.552e-05/0.6258, allocations: 44.55 kB / 0.7641 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.6259, allocations: 131.3 kB / 0.7642 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.6261, allocations: 87.14 kB / 0.7643 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.6261, allocations: 31.22 kB / 0.7644 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.6263, allocations: 23.55 kB / 0.7644 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.6263, allocations: 38.5 kB / 0.7644 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6263, allocations: 0 / 0.7644 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001251/0.6276, allocations: 490.5 kB / 0.7649 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.6276, allocations: 54.19 kB / 0.7649 GB, free: 4.934 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/0.6277, allocations: 98.53 kB / 0.765 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.6277, allocations: 27.2 kB / 0.7651 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.6277, allocations: 85.67 kB / 0.7651 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.6277, allocations: 74.12 kB / 0.7652 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.6278, allocations: 38.03 kB / 0.7652 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.6278, allocations: 328.2 kB / 0.7656 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.6279, allocations: 34.27 kB / 0.7656 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.584e-05/0.628, allocations: 71.94 kB / 0.7657 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.6281, allocations: 115 kB / 0.7658 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6282, allocations: 4.688 kB / 0.7658 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002145/0.6284, allocations: 156.6 kB / 0.7659 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6284, allocations: 8.969 kB / 0.7659 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6284, allocations: 1.281 kB / 0.7659 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6284, allocations: 2.438 kB / 0.7659 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.6286, allocations: 41.36 kB / 0.766 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.6286, allocations: 7.219 kB / 0.766 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.6287, allocations: 5.562 kB / 0.766 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.6287, allocations: 9.156 kB / 0.766 GB, free: 4.09 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 7.245e-05/0.6287, allocations: 128.8 kB / 0.7661 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.6288, allocations: 9.031 kB / 0.7661 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.6288, allocations: 17.12 kB / 0.7661 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6288, allocations: 2.156 kB / 0.7661 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6288, allocations: 1.094 kB / 0.7661 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6288, allocations: 1.406 kB / 0.7661 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.6289, allocations: 133.9 kB / 0.7663 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6289, allocations: 4 kB / 0.7663 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.6291, allocations: 39.09 kB / 0.7663 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6291, allocations: 1.344 kB / 0.7663 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.6291, allocations: 6.641 kB / 0.7663 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6291, allocations: 0 / 0.7663 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6292, allocations: 2.016 kB / 0.7663 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.6295, allocations: 214.7 kB / 0.7665 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.6295, allocations: 18.84 kB / 0.7666 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.6296, allocations: 5.172 kB / 0.7666 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.6297, allocations: 9.406 kB / 0.7666 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.6297, allocations: 9.859 kB / 0.7666 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.6297, allocations: 12.33 kB / 0.7666 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.6297, allocations: 78.7 kB / 0.7667 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6297, allocations: 0 / 0.7667 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002308/0.63, allocations: 25.58 kB / 0.7667 GB, free: 3.57 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.0001303/0.6301, allocations: 113.8 kB / 0.7668 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.6303, allocations: 107.1 kB / 0.7669 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6303, allocations: 4.094 kB / 0.7669 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.6304, allocations: 49.41 kB / 0.7669 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.6307, allocations: 19.77 kB / 0.767 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.6315, allocations: 0.5003 MB / 0.7675 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.6316, allocations: 87.42 kB / 0.7675 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.6317, allocations: 19.94 kB / 0.7676 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.6317, allocations: 17.03 kB / 0.7676 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.6317, allocations: 4 kB / 0.7676 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of Templates: time 0.00418/0.6359, allocations: 1.066 MB / 0.7686 GB, free: 2.809 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.735827884054743] Failed to read output from testmodel.py, exit status != 0: 0.6442753010196611 0.657113635 0.029501984000000002 Calling exit ...