Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.0007441/0.0007441, allocations: 79.69 kB / 19.25 MB, free: 0.6211 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.0007576/0.0007576, allocations: 166 kB / 22.56 MB, free: 1.961 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.9185/0.9185, allocations: 177.1 MB / 202.9 MB, free: 5.691 MB / 186.7 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.5604/0.5604, allocations: 110.2 MB / 369.5 MB, free: 12.59 MB / 346.7 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5475 GB, free: 8.652 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.721e-05, allocations: 8.75 kB / 0.5475 GB, free: 8.645 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002576/0.002603, allocations: 1.541 MB / 0.549 GB, free: 7.086 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003019/0.002905, allocations: 112.5 kB / 0.5491 GB, free: 6.973 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.002958, allocations: 3.938 kB / 0.5491 GB, free: 6.969 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003087, allocations: 7.938 kB / 0.5491 GB, free: 6.961 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.482e-05/0.003112, allocations: 7.875 kB / 0.5491 GB, free: 6.953 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.003456, allocations: 31.94 kB / 0.5491 GB, free: 6.922 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003571, allocations: 55.84 kB / 0.5492 GB, free: 6.867 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.003702, allocations: 19.92 kB / 0.5492 GB, free: 6.848 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.003783, allocations: 35.91 kB / 0.5493 GB, free: 6.812 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.003856, allocations: 23.97 kB / 0.5493 GB, free: 6.789 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.003877, allocations: 4 kB / 0.5493 GB, free: 6.785 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.003945, allocations: 11.98 kB / 0.5493 GB, free: 6.773 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.004001, allocations: 15.92 kB / 0.5493 GB, free: 6.758 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.004043, allocations: 19.92 kB / 0.5493 GB, free: 6.738 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004238, allocations: 67.73 kB / 0.5494 GB, free: 6.672 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004241, allocations: 0 / 0.5494 GB, free: 6.672 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.004244, allocations: 3.984 kB / 0.5494 GB, free: 6.668 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.004249, allocations: 0 / 0.5494 GB, free: 6.668 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004506/0.004699, allocations: 306.1 kB / 0.5497 GB, free: 6.336 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.004756, allocations: 12.03 kB / 0.5497 GB, free: 6.324 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.851e-05/0.004785, allocations: 34.73 kB / 0.5497 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.004812, allocations: 8.891 kB / 0.5497 GB, free: 6.273 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.004952, allocations: 125.7 kB / 0.5499 GB, free: 6.125 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.004962, allocations: 384 / 0.5499 GB, free: 6.125 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.004976, allocations: 8.375 kB / 0.5499 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.00519, allocations: 94.14 kB / 0.55 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005199, allocations: 192 / 0.55 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.005208, allocations: 384 / 0.55 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.005216, allocations: 4.125 kB / 0.55 GB, free: 6.016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.005384, allocations: 87.84 kB / 0.55 GB, free: 5.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.005788, allocations: 283.8 kB / 0.5503 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.005919, allocations: 62.52 kB / 0.5504 GB, free: 5.539 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.006, allocations: 36.92 kB / 0.5504 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.006046, allocations: 7.984 kB / 0.5504 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.006072, allocations: 34.56 kB / 0.5505 GB, free: 5.449 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.006074, allocations: 0 / 0.5505 GB, free: 5.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.00035/0.006424, allocations: 141.6 kB / 0.5506 GB, free: 5.305 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.006458, allocations: 51.41 kB / 0.5506 GB, free: 5.242 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.006535, allocations: 117.8 kB / 0.5507 GB, free: 5.117 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.006548, allocations: 25.7 kB / 0.5508 GB, free: 5.086 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.0066, allocations: 96.08 kB / 0.5509 GB, free: 4.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.006623, allocations: 7.891 kB / 0.5509 GB, free: 4.98 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.006652, allocations: 17.72 kB / 0.5509 GB, free: 4.957 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.006754, allocations: 322.8 kB / 0.5512 GB, free: 4.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.006837, allocations: 31.97 kB / 0.5512 GB, free: 4.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.006906, allocations: 35.95 kB / 0.5513 GB, free: 4.566 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.007065, allocations: 76.72 kB / 0.5513 GB, free: 4.488 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.007069, allocations: 4 kB / 0.5513 GB, free: 4.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.007273, allocations: 109.5 kB / 0.5514 GB, free: 4.371 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.00729, allocations: 6.031 kB / 0.5514 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007295, allocations: 0 / 0.5514 GB, free: 4.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.00731, allocations: 4 kB / 0.5515 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.007394, allocations: 11.98 kB / 0.5515 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.007401, allocations: 7.984 kB / 0.5515 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.007442, allocations: 15.98 kB / 0.5515 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.007466, allocations: 0 / 0.5515 GB, free: 4.328 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.527e-05/0.007541, allocations: 117.8 kB / 0.5516 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.007557, allocations: 7.953 kB / 0.5516 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.007785, allocations: 117.5 kB / 0.5517 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.007789, allocations: 7.984 kB / 0.5517 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.007794, allocations: 0 / 0.5517 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007797, allocations: 3.938 kB / 0.5517 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.007921, allocations: 140.7 kB / 0.5519 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007922, allocations: 0 / 0.5519 GB, free: 3.879 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.007978, allocations: 19.97 kB / 0.5519 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007981, allocations: 0 / 0.5519 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.007988, allocations: 0 / 0.5519 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.007992, allocations: 4 kB / 0.5519 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007993, allocations: 0 / 0.5519 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.008202, allocations: 203.8 kB / 0.5521 GB, free: 3.641 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.008211, allocations: 4 kB / 0.5521 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.008224, allocations: 7.984 kB / 0.5521 GB, free: 3.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.008273, allocations: 7.984 kB / 0.5521 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.008318, allocations: 11.92 kB / 0.5521 GB, free: 3.609 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.008324, allocations: 0 / 0.5521 GB, free: 3.609 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.986e-05/0.008364, allocations: 95.27 kB / 0.5522 GB, free: 3.516 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008364, allocations: 4 kB / 0.5522 GB, free: 3.512 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.008531, allocations: 15.94 kB / 0.5522 GB, free: 3.496 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0004773/0.009008, allocations: 0.728 MB / 0.5529 GB, free: 2.742 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.009218, allocations: 83.84 kB / 0.553 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.00922, allocations: 0 / 0.553 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.009294, allocations: 35.97 kB / 0.553 GB, free: 2.625 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.009535, allocations: 8 kB / 0.5531 GB, free: 2.617 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.01109, allocations: 1.425 MB / 0.5544 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.894e-05/0.01115, allocations: 75.33 kB / 0.5545 GB, free: 1.016 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.01119, allocations: 8 kB / 0.5545 GB, free: 1.008 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.01123, allocations: 20.48 kB / 0.5545 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01123, allocations: 0 / 0.5545 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.03736, allocations: 2.515 MB / 0.557 GB, free: 14.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.035, allocations: 23.48 kB / 0.557 GB, free: 14.59 MB / 490.7 MB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.631721125915647] Failed to read output from testmodel.py, exit status != 0: 7.114704900421202 7.123859234 7.117650833 Calling exit ...