Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 101.7 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 200.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002441/0.002441, allocations: 293.1 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 180.9 MB / 0.5261 GB, free: 14.8 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003799/0.003799, allocations: 100.5 kB / 0.7248 GB, free: 40.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1642, allocations: 94.16 MB / 0.8167 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002815/0.167, allocations: 1.487 MB / 0.8182 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1685, allocations: 1.126 MB / 0.8193 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.1686, allocations: 0 / 0.8193 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1688, allocations: 15.86 kB / 0.8193 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1689, allocations: 43.78 kB / 0.8193 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1691, allocations: 62.28 kB / 0.8194 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1693, allocations: 147.5 kB / 0.8195 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1695, allocations: 49.11 kB / 0.8196 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1696, allocations: 79.75 kB / 0.8196 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1697, allocations: 55.7 kB / 0.8197 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.1698, allocations: 19.92 kB / 0.8197 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.1699, allocations: 24 kB / 0.8197 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.1699, allocations: 51.81 kB / 0.8198 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.682e-05/0.17, allocations: 71.59 kB / 0.8198 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.1703, allocations: 207.4 kB / 0.82 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1703, allocations: 4 kB / 0.82 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1703, allocations: 0 / 0.82 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1703, allocations: 0 / 0.82 GB, free: 1.969 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007214/0.171, allocations: 0.4945 MB / 0.8205 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1711, allocations: 8.031 kB / 0.8205 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.895e-05/0.1711, allocations: 46.67 kB / 0.8206 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.1712, allocations: 20.8 kB / 0.8206 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1715, allocations: 247.9 kB / 0.8208 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.1717, allocations: 127.4 kB / 0.821 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1717, allocations: 4.375 kB / 0.821 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.172, allocations: 164.7 kB / 0.8211 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.172, allocations: 0 / 0.8211 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.1721, allocations: 4 kB / 0.8211 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.1721, allocations: 8 kB / 0.8211 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.1722, allocations: 39.97 kB / 0.8212 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1734, allocations: 464.4 kB / 0.8216 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.42e-05/0.1735, allocations: 38.55 kB / 0.8217 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.1735, allocations: 24.84 kB / 0.8217 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1736, allocations: 11.98 kB / 0.8217 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1736, allocations: 30.56 kB / 0.8217 GB, free: 68 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1736, allocations: 0 / 0.8217 GB, free: 68 kB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002997/0.1739, allocations: 109.5 kB / 0.8218 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.174, allocations: 63.28 kB / 0.8219 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1742, allocations: 205.3 kB / 0.8221 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1743, allocations: 29.7 kB / 0.8221 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.1744, allocations: 136 kB / 0.8222 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1744, allocations: 27.94 kB / 0.8223 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.1744, allocations: 25.7 kB / 0.8223 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1746, allocations: 326.8 kB / 0.8226 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.1747, allocations: 27.98 kB / 0.8226 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1748, allocations: 98.28 kB / 0.8227 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1749, allocations: 142.1 kB / 0.8229 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1749, allocations: 0 / 0.8229 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000248/0.1752, allocations: 157.2 kB / 0.823 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1752, allocations: 11.98 kB / 0.823 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1752, allocations: 7.938 kB / 0.823 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1752, allocations: 4 kB / 0.823 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.1753, allocations: 19.94 kB / 0.823 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1753, allocations: 11.92 kB / 0.8231 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1754, allocations: 12.31 kB / 0.8231 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.1754, allocations: 12 kB / 0.8231 GB, free: 14.53 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001415/0.1756, allocations: 141.8 kB / 0.8232 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.1756, allocations: 15.91 kB / 0.8232 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.1758, allocations: 111.2 kB / 0.8233 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1758, allocations: 4 kB / 0.8233 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1758, allocations: 3.938 kB / 0.8233 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1758, allocations: 3.984 kB / 0.8233 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.1761, allocations: 229.5 kB / 0.8236 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1761, allocations: 7.938 kB / 0.8236 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.1762, allocations: 19.92 kB / 0.8236 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1762, allocations: 0 / 0.8236 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1762, allocations: 0 / 0.8236 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1762, allocations: 0 / 0.8236 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1762, allocations: 7.938 kB / 0.8236 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1764, allocations: 187.4 kB / 0.8238 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.1765, allocations: 89.02 kB / 0.8239 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1765, allocations: 11.98 kB / 0.8239 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.1768, allocations: 15.98 kB / 0.8239 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1768, allocations: 15.92 kB / 0.8239 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.1768, allocations: 7.984 kB / 0.8239 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001501/0.177, allocations: 165.5 kB / 0.8241 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.177, allocations: 0 / 0.8241 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002933/0.1773, allocations: 31.89 kB / 0.8241 GB, free: 13.39 MB / 0.5762 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 (8): * Single equations (assignments): 8 * 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.0007213/0.178, allocations: 0.7457 MB / 0.8248 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1782, allocations: 71.83 kB / 0.8249 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1782, allocations: 4 kB / 0.8249 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.1782, allocations: 23.98 kB / 0.8249 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.1785, allocations: 23.86 kB / 0.8249 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1807, allocations: 1.926 MB / 0.8268 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.1811, allocations: 0.7275 MB / 0.8275 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.1813, allocations: 56.88 kB / 0.8276 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1813, allocations: 43.42 kB / 0.8276 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.1813, allocations: 3.938 kB / 0.8276 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02977/0.2111, allocations: 4.257 MB / 0.8318 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.516, allocations: 13.16 kB / 0.8318 GB, free: 5.449 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.551747060846537] Failed to read output from testmodel.py, exit status != 0: 8.585390960797668 8.600121899 8.425690934 Calling exit ...