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.001285/0.001285, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001028/0.001028, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.9023/0.9023, allocations: 177.2 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.5683/0.5683, allocations: 114 MB / 373.9 MB, free: 8.691 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.343e-06/1.343e-06, allocations: 0 / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.981e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00218/0.002199, allocations: 1.645 MB / 0.5558 GB, free: 12 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003533, allocations: 1.367 MB / 0.5571 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.003599, allocations: 3.938 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.003806, allocations: 27.72 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.00414, allocations: 115.4 kB / 0.5573 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.004395, allocations: 145.8 kB / 0.5574 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004619, allocations: 253.5 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.004712, allocations: 11.98 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.004821, allocations: 123.8 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.004953, allocations: 83.75 kB / 0.5579 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.00498, allocations: 16 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.005141, allocations: 127.8 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.005221, allocations: 83.73 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.005284, allocations: 71.81 kB / 0.5582 GB, free: 13.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.005803, allocations: 346.8 kB / 0.5585 GB, free: 13.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.005807, allocations: 4 kB / 0.5585 GB, free: 13.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.005808, allocations: 0 / 0.5585 GB, free: 13.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.005813, allocations: 0 / 0.5585 GB, free: 13.26 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.0006029/0.006416, allocations: 0.494 MB / 0.559 GB, free: 12.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.006454, allocations: 16.56 kB / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.006493, allocations: 46.73 kB / 0.559 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.006547, allocations: 36.8 kB / 0.5591 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.006753, allocations: 212.8 kB / 0.5593 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.006769, allocations: 16.64 kB / 0.5593 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.006788, allocations: 16.38 kB / 0.5593 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.007078, allocations: 293.6 kB / 0.5596 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.007086, allocations: 192 / 0.5596 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.007105, allocations: 11.94 kB / 0.5596 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.007111, allocations: 4 kB / 0.5596 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.007635, allocations: 0.6907 MB / 0.5603 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.008305, allocations: 0.527 MB / 0.5608 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.008661, allocations: 288.3 kB / 0.5611 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.008765, allocations: 97.36 kB / 0.5612 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.008801, allocations: 24.2 kB / 0.5612 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.009082, allocations: 172.6 kB / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.009083, allocations: 0 / 0.5613 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004858/0.009569, allocations: 377 kB / 0.5617 GB, free: 9.793 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.009627, allocations: 132.5 kB / 0.5618 GB, free: 9.633 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.009839, allocations: 321.6 kB / 0.5621 GB, free: 9.312 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.009859, allocations: 37.64 kB / 0.5622 GB, free: 9.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.009919, allocations: 124.8 kB / 0.5623 GB, free: 9.145 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.009988, allocations: 123 kB / 0.5624 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.01006, allocations: 69.67 kB / 0.5625 GB, free: 8.949 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.01014, allocations: 342.8 kB / 0.5628 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.955e-05/0.01024, allocations: 83.95 kB / 0.5629 GB, free: 8.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.0104, allocations: 204.5 kB / 0.5631 GB, free: 8.293 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.01064, allocations: 215.7 kB / 0.5633 GB, free: 8.082 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01064, allocations: 0 / 0.5633 GB, free: 8.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003156/0.01096, allocations: 296.9 kB / 0.5636 GB, free: 7.785 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01097, allocations: 7.938 kB / 0.5636 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01098, allocations: 0 / 0.5636 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.011, allocations: 4 kB / 0.5636 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.01116, allocations: 59.97 kB / 0.5636 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.01116, allocations: 7.938 kB / 0.5636 GB, free: 7.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.01125, allocations: 30.78 kB / 0.5637 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01126, allocations: 8 kB / 0.5637 GB, free: 7.672 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.0001237/0.01139, allocations: 169.6 kB / 0.5638 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.01142, allocations: 27.84 kB / 0.5639 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.01187, allocations: 390 kB / 0.5642 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01187, allocations: 4 kB / 0.5642 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01188, allocations: 4 kB / 0.5642 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01188, allocations: 0 / 0.5642 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.01211, allocations: 280.3 kB / 0.5645 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01211, allocations: 0 / 0.5645 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.01222, allocations: 59.91 kB / 0.5646 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01222, allocations: 4 kB / 0.5646 GB, free: 6.695 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01224, allocations: 11.98 kB / 0.5646 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01224, allocations: 0 / 0.5646 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01224, allocations: 0 / 0.5646 GB, free: 6.684 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.01256, allocations: 330.1 kB / 0.5649 GB, free: 6.344 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.01264, allocations: 71.67 kB / 0.565 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.01267, allocations: 11.97 kB / 0.565 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.01275, allocations: 19.98 kB / 0.565 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.01279, allocations: 23.95 kB / 0.565 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.01281, allocations: 19.92 kB / 0.565 GB, free: 6.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003658/0.01317, allocations: 241.2 kB / 0.5653 GB, free: 5.965 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01317, allocations: 0 / 0.5653 GB, free: 5.965 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.0134, allocations: 79.86 kB / 0.5653 GB, free: 5.887 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.001265/0.01466, allocations: 1.236 MB / 0.5666 GB, free: 4.844 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.015, allocations: 231.9 kB / 0.5668 GB, free: 4.617 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.015, allocations: 0 / 0.5668 GB, free: 4.617 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.01513, allocations: 119.8 kB / 0.5669 GB, free: 4.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.01535, allocations: 37.28 kB / 0.5669 GB, free: 4.465 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.01763, allocations: 2.559 MB / 0.5694 GB, free: 1.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.01775, allocations: 150.7 kB / 0.5696 GB, free: 1.652 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.01798, allocations: 142.9 kB / 0.5697 GB, free: 1.508 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.0181, allocations: 104.4 kB / 0.5698 GB, free: 1.406 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.0181, allocations: 0 / 0.5698 GB, free: 1.406 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.0407, allocations: 6.791 MB / 0.5764 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.278, allocations: 10.69 kB / 0.5764 GB, free: 10.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 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.763816695660353] Failed to read output from testmodel.py, exit status != 0: 7.417644095607102 7.42855264 7.420897738 Calling exit ...