Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.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.001468/0.001468, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001756/0.001756, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 1.016/1.016, allocations: 150 MB / 459.5 MB, free: 5.336 MB / 350.1 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.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002202/0.002202, allocations: 62.38 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1485, allocations: 89.14 MB / 0.7232 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002807/0.1513, allocations: 1.348 MB / 0.7245 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.1515, allocations: 51.77 kB / 0.7245 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.1515, allocations: 0 / 0.7245 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.1516, allocations: 11.91 kB / 0.7245 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1518, allocations: 11.94 kB / 0.7245 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.1518, allocations: 0 / 0.7245 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.1518, allocations: 15.92 kB / 0.7246 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1519, allocations: 0 / 0.7246 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.721e-05/0.1519, allocations: 7.938 kB / 0.7246 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.1519, allocations: 15.92 kB / 0.7246 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1519, allocations: 0 / 0.7246 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.152, allocations: 19.98 kB / 0.7246 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.152, allocations: 4 kB / 0.7246 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.1521, allocations: 7.938 kB / 0.7246 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.543e-05/0.1521, allocations: 24.12 kB / 0.7246 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1522, allocations: 0 / 0.7246 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1522, allocations: 0 / 0.7246 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.1522, allocations: 3.938 kB / 0.7246 GB, free: 2.547 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003799/0.1525, allocations: 339.3 kB / 0.725 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1526, allocations: 12.03 kB / 0.725 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.1526, allocations: 34.7 kB / 0.725 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1527, allocations: 4.938 kB / 0.725 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1528, allocations: 176.3 kB / 0.7252 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1528, allocations: 4.375 kB / 0.7252 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-06/0.1529, allocations: 4.312 kB / 0.7252 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.1529, allocations: 34.25 kB / 0.7252 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1529, allocations: 3.938 kB / 0.7252 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.153, allocations: 0 / 0.7252 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.153, allocations: 0 / 0.7252 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.807e-05/0.153, allocations: 11.92 kB / 0.7252 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.1533, allocations: 245 kB / 0.7255 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.1534, allocations: 26.5 kB / 0.7255 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.1534, allocations: 4.859 kB / 0.7255 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1534, allocations: 0 / 0.7255 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1534, allocations: 30.56 kB / 0.7255 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1534, allocations: 0 / 0.7255 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.1536, allocations: 45.7 kB / 0.7256 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1536, allocations: 51.41 kB / 0.7256 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1537, allocations: 113.8 kB / 0.7257 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1538, allocations: 25.7 kB / 0.7258 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1538, allocations: 92.08 kB / 0.7258 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.1538, allocations: 3.938 kB / 0.7258 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1538, allocations: 13.72 kB / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.154, allocations: 319 kB / 0.7262 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.154, allocations: 0 / 0.7262 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.154, allocations: 4 kB / 0.7262 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.154, allocations: 16.78 kB / 0.7262 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1541, allocations: 3.938 kB / 0.7262 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.174e-05/0.1541, allocations: 33.7 kB / 0.7262 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1541, allocations: 8 kB / 0.7262 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1541, allocations: 0 / 0.7262 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1541, allocations: 96 / 0.7262 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.1542, allocations: 4 kB / 0.7262 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1542, allocations: 4 kB / 0.7262 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1542, allocations: 3.984 kB / 0.7262 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1542, allocations: 0 / 0.7262 GB, free: 0.668 MB / 0.5294 GB 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 (1): * Single equations (assignments): 1 * 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 8.3e-05/0.1543, allocations: 109.8 kB / 0.7263 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1543, allocations: 7.953 kB / 0.7264 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.374e-05/0.1544, allocations: 49.16 kB / 0.7264 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1544, allocations: 0 / 0.7264 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.1544, allocations: 7.969 kB / 0.7264 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1544, allocations: 0 / 0.7264 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.1546, allocations: 157.6 kB / 0.7266 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1546, allocations: 0 / 0.7266 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.1546, allocations: 4 kB / 0.7266 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1546, allocations: 0 / 0.7266 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1546, allocations: 0 / 0.7266 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1546, allocations: 0 / 0.7266 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1546, allocations: 0 / 0.7266 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1547, allocations: 135.5 kB / 0.7267 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1548, allocations: 85 kB / 0.7268 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1548, allocations: 4 kB / 0.7268 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.1548, allocations: 4 kB / 0.7268 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-06/0.1548, allocations: 0 / 0.7268 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.1549, allocations: 4 kB / 0.7268 GB, free: 8 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.8e-05/0.1549, allocations: 95.3 kB / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1549, allocations: 0 / 0.7269 GB, free: 15.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000233/0.1552, allocations: 7.938 kB / 0.7269 GB, free: 15.9 MB / 0.545 GB 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 (1): * Single equations (assignments): 1 * 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.0005519/0.1557, allocations: 0.6843 MB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.1558, allocations: 11.97 kB / 0.7276 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1558, allocations: 0 / 0.7276 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.1558, allocations: 8 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.156, allocations: 0 / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1572, allocations: 1.179 MB / 0.7287 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1576, allocations: 0.6768 MB / 0.7294 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.787e-05/0.1576, allocations: 11.92 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.1577, allocations: 11.44 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1577, allocations: 8.031 kB / 0.7294 GB, free: 13.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.1819, allocations: 1.379 MB / 0.7308 GB, free: 11.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.243, allocations: 4.219 kB / 0.7308 GB, free: 11.89 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.17152609094046] Failed to read output from testmodel.py, exit status != 0: 8.310795876896009 8.325466412 8.170481536 Calling exit ...