Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.001256/0.001256, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008097/0.0008097, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9353/0.9353, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5591/0.5591, allocations: 110.2 MB / 370.2 MB, free: 12.62 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: translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=52560,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5485 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.71e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003858/0.003885, allocations: 2.88 MB / 0.5513 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.006135, allocations: 2.221 MB / 0.5534 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.006325, allocations: 11.94 kB / 0.5534 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.006643, allocations: 95.05 kB / 0.5535 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.00713, allocations: 270.5 kB / 0.5538 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.007563, allocations: 389.4 kB / 0.5542 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.008065, allocations: 0.6831 MB / 0.5548 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.008364, allocations: 184.2 kB / 0.555 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.008613, allocations: 355.1 kB / 0.5553 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.008888, allocations: 215.2 kB / 0.5556 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.964e-05/0.008948, allocations: 64 kB / 0.5556 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.009136, allocations: 159.8 kB / 0.5558 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.009256, allocations: 167.4 kB / 0.5559 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.00937, allocations: 175.4 kB / 0.5561 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009484/0.01032, allocations: 0.8022 MB / 0.5569 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01032, allocations: 0 / 0.5569 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/0.01032, allocations: 4 kB / 0.5569 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.01033, allocations: 0 / 0.5569 GB, free: 0.6953 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009377/0.01127, allocations: 0.8461 MB / 0.5577 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.01131, allocations: 8.031 kB / 0.5577 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.01151, allocations: 88.45 kB / 0.5578 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.01198, allocations: 437.6 kB / 0.5582 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.012, allocations: 29.38 kB / 0.5582 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.01205, allocations: 36.38 kB / 0.5583 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.01253, allocations: 0.5088 MB / 0.5588 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01255, allocations: 0 / 0.5588 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.01257, allocations: 16 kB / 0.5588 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.01258, allocations: 15.94 kB / 0.5588 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.01293, allocations: 314.3 kB / 0.5591 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.01401, allocations: 1.021 MB / 0.5601 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.01437, allocations: 315.9 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.0145, allocations: 110.2 kB / 0.5605 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.01453, allocations: 8.234 kB / 0.5605 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.01456, allocations: 34.8 kB / 0.5605 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.01456, allocations: 0 / 0.5605 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0005164/0.01508, allocations: 398.9 kB / 0.5609 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.01516, allocations: 199.8 kB / 0.5611 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005081/0.01567, allocations: 0.5762 MB / 0.5617 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.01569, allocations: 33.7 kB / 0.5617 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01584, allocations: 280.5 kB / 0.562 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.01591, allocations: 111 kB / 0.5621 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.01598, allocations: 65.91 kB / 0.5622 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.0161, allocations: 362.8 kB / 0.5625 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.01622, allocations: 105.7 kB / 0.5626 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01641, allocations: 263.3 kB / 0.5628 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.01666, allocations: 228.2 kB / 0.5631 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01666, allocations: 0 / 0.5631 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006714/0.01734, allocations: 322.8 kB / 0.5634 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01735, allocations: 4 kB / 0.5634 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01736, allocations: 4 kB / 0.5634 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01738, allocations: 0 / 0.5634 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01753, allocations: 55.91 kB / 0.5634 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01754, allocations: 8 kB / 0.5634 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.01763, allocations: 40.12 kB / 0.5635 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.01766, allocations: 8 kB / 0.5635 GB, free: 9.609 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) \"Consumption en L\" type: Real scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) \"Hot water consumption at 40°C [L]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.booleanToReal.u,scenarioRT.greaterThreshold3.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002491/0.0179, allocations: 213.7 kB / 0.5637 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.01797, allocations: 55.61 kB / 0.5637 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.01838, allocations: 346.6 kB / 0.5641 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01839, allocations: 4 kB / 0.5641 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.01839, allocations: 7.938 kB / 0.5641 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.0184, allocations: 4 kB / 0.5641 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.01874, allocations: 392.9 kB / 0.5645 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01874, allocations: 0 / 0.5645 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01887, allocations: 51.86 kB / 0.5645 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01887, allocations: 4 kB / 0.5645 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.01889, allocations: 7.984 kB / 0.5645 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.01889, allocations: 4 kB / 0.5645 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01889, allocations: 0 / 0.5645 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.01944, allocations: 0.6198 MB / 0.5651 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.0195, allocations: 67.67 kB / 0.5652 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.01953, allocations: 8 kB / 0.5652 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01964, allocations: 15.98 kB / 0.5652 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.0197, allocations: 31.89 kB / 0.5653 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.01971, allocations: 12 kB / 0.5653 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003413/0.02005, allocations: 422.8 kB / 0.5657 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.02005, allocations: 0 / 0.5657 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002848/0.02034, allocations: 119.6 kB / 0.5658 GB, free: 7.203 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0008604/0.0212, allocations: 0.4922 MB / 0.5663 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.02152, allocations: 235.8 kB / 0.5665 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02152, allocations: 0 / 0.5665 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.02166, allocations: 131.8 kB / 0.5666 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.02202, allocations: 78.94 kB / 0.5667 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.02304, allocations: 0.9388 MB / 0.5676 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.02324, allocations: 271.1 kB / 0.5679 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.02335, allocations: 56.47 kB / 0.5679 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of SimCode: time 5.81e-07/0.02335, allocations: 4 kB / 0.5679 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of Templates: time 0.007545/0.0309, allocations: 7.707 MB / 0.5754 GB, free: 13.46 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; mkfifo BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe >> ../files/BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.sim & ./BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.912479498423636] Failed to read output from testmodel.py, exit status != 0: 0.036884237080812454 0.044746703000000006 0.032848665 Calling exit ...