Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0007799/0.0007799, 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.0007959/0.0007959, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.902/0.902, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5579/0.5579, allocations: 114 MB / 373.9 MB, free: 8.684 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.903e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.66 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002097/0.002116, allocations: 1.633 MB / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.003364, allocations: 1.381 MB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.003428, allocations: 4 kB / 0.5571 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.003644, allocations: 27.73 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.003967, allocations: 115.3 kB / 0.5573 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.00421, allocations: 135 kB / 0.5574 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.004441, allocations: 257.4 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.00453, allocations: 15.98 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.00463, allocations: 115.8 kB / 0.5578 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.004755, allocations: 79.83 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.004782, allocations: 20 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.004919, allocations: 119.8 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/0.004994, allocations: 91.78 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.005052, allocations: 67.75 kB / 0.5581 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.00544, allocations: 354.8 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005443, allocations: 3.938 kB / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005444, allocations: 0 / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.005449, allocations: 0 / 0.5585 GB, free: 13.25 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005783/0.006027, allocations: 0.5018 MB / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.006064, allocations: 12.56 kB / 0.559 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.006106, allocations: 50.73 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.006164, allocations: 24.8 kB / 0.5591 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.006365, allocations: 216.8 kB / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.006381, allocations: 16.7 kB / 0.5593 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.006398, allocations: 16.31 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.006667, allocations: 297.5 kB / 0.5596 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.006674, allocations: 192 / 0.5596 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.006691, allocations: 11.94 kB / 0.5596 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006698, allocations: 8 kB / 0.5596 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.007202, allocations: 0.6907 MB / 0.5603 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.007816, allocations: 0.5232 MB / 0.5608 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.008152, allocations: 288.2 kB / 0.5611 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.008253, allocations: 101.4 kB / 0.5612 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.008285, allocations: 12.27 kB / 0.5612 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.008509, allocations: 172.6 kB / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.262e-06/0.00851, allocations: 0 / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004734/0.008983, allocations: 388.9 kB / 0.5617 GB, free: 9.781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.009043, allocations: 132.5 kB / 0.5618 GB, free: 9.621 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.009259, allocations: 317.7 kB / 0.5621 GB, free: 9.305 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.009284, allocations: 37.7 kB / 0.5622 GB, free: 9.262 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.009345, allocations: 120.8 kB / 0.5623 GB, free: 9.141 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.009408, allocations: 123 kB / 0.5624 GB, free: 9.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.009475, allocations: 69.67 kB / 0.5625 GB, free: 8.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/0.009562, allocations: 338.8 kB / 0.5628 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.009658, allocations: 83.95 kB / 0.5629 GB, free: 8.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.009811, allocations: 200.5 kB / 0.5631 GB, free: 8.297 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.01004, allocations: 227.6 kB / 0.5633 GB, free: 8.074 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01004, allocations: 4 kB / 0.5633 GB, free: 8.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002892/0.01033, allocations: 296.8 kB / 0.5636 GB, free: 7.773 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01034, allocations: 4 kB / 0.5636 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01035, allocations: 0 / 0.5636 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.01036, allocations: 4 kB / 0.5636 GB, free: 7.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.0105, allocations: 59.91 kB / 0.5636 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.0105, allocations: 0 / 0.5636 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.01058, allocations: 34.5 kB / 0.5637 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.0106, allocations: 12 kB / 0.5637 GB, free: 7.664 MB / 490.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: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001051/0.0107, allocations: 173.6 kB / 0.5638 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.01073, allocations: 27.84 kB / 0.5639 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.01115, allocations: 390 kB / 0.5642 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.01115, allocations: 4 kB / 0.5642 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01116, allocations: 0 / 0.5642 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01116, allocations: 0 / 0.5642 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.01135, allocations: 276.3 kB / 0.5645 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01135, allocations: 0 / 0.5645 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.864e-05/0.01145, allocations: 63.91 kB / 0.5646 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01145, allocations: 0 / 0.5646 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01147, allocations: 11.98 kB / 0.5646 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01147, allocations: 0 / 0.5646 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01147, allocations: 4 kB / 0.5646 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.01177, allocations: 334 kB / 0.5649 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.01184, allocations: 67.67 kB / 0.565 GB, free: 6.266 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.01187, allocations: 15.98 kB / 0.565 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.01193, allocations: 8 kB / 0.565 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.01198, allocations: 23.95 kB / 0.565 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.012, allocations: 15.98 kB / 0.565 GB, free: 6.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.01221, allocations: 245.2 kB / 0.5653 GB, free: 5.965 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01221, allocations: 0 / 0.5653 GB, free: 5.965 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.01241, allocations: 75.86 kB / 0.5653 GB, free: 5.891 MB / 490.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: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001121/0.01353, allocations: 1.244 MB / 0.5666 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.0138, allocations: 235.8 kB / 0.5668 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0138, allocations: 0 / 0.5668 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.01393, allocations: 115.9 kB / 0.5669 GB, free: 4.496 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.0141, allocations: 36.48 kB / 0.5669 GB, free: 4.461 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.01602, allocations: 2.563 MB / 0.5694 GB, free: 1.812 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.0161, allocations: 146.7 kB / 0.5696 GB, free: 1.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.01628, allocations: 142.9 kB / 0.5697 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01638, allocations: 104.4 kB / 0.5698 GB, free: 1.402 MB / 490.7 MB Notification: Performance of SimCode: time 5.1e-07/0.01638, allocations: 0 / 0.5698 GB, free: 1.402 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.03516, allocations: 6.796 MB / 0.5764 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.698, allocations: 10.23 kB / 0.5764 GB, free: 10.7 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.355998108163476] Failed to read output from testmodel.py, exit status != 0: 6.840452563948929 6.85452323 6.847301664 Calling exit ...