Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.00134/0.00134, allocations: 109.1 kB / 16.46 MB, free: 6.504 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.001289/0.001289, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.392/1.392, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.002572/0.002572, allocations: 294.6 kB / 303 MB, free: 9.492 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.253/1.253, allocations: 180.9 MB / 0.5261 GB, free: 14.73 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.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 103 kB / 0.7248 GB, free: 39.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1518, allocations: 94.16 MB / 0.8167 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002619/0.1544, allocations: 1.343 MB / 0.818 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.1546, allocations: 44 kB / 0.8181 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.1546, allocations: 0 / 0.8181 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.1548, allocations: 11.92 kB / 0.8181 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1549, allocations: 7.938 kB / 0.8181 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.1549, allocations: 4 kB / 0.8181 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.1549, allocations: 27.84 kB / 0.8181 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.155, allocations: 4 kB / 0.8181 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.155, allocations: 7.984 kB / 0.8181 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.1551, allocations: 7.938 kB / 0.8181 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1551, allocations: 0 / 0.8181 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.1551, allocations: 12 kB / 0.8181 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.1552, allocations: 0 / 0.8181 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1552, allocations: 11.92 kB / 0.8182 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1553, allocations: 28.12 kB / 0.8182 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1553, allocations: 0 / 0.8182 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1553, allocations: 4 kB / 0.8182 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1553, allocations: 0 / 0.8182 GB, free: 3.895 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003882/0.1557, allocations: 339.3 kB / 0.8185 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1557, allocations: 12.03 kB / 0.8185 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.1558, allocations: 30.75 kB / 0.8186 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.193e-05/0.1558, allocations: 0.9375 kB / 0.8186 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.156, allocations: 180.2 kB / 0.8187 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.156, allocations: 8.312 kB / 0.8187 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.156, allocations: 4.359 kB / 0.8187 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.1561, allocations: 42.25 kB / 0.8188 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1561, allocations: 3.938 kB / 0.8188 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1561, allocations: 3.984 kB / 0.8188 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1561, allocations: 0 / 0.8188 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.05e-05/0.1562, allocations: 4 kB / 0.8188 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1565, allocations: 237 kB / 0.819 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.49e-05/0.1565, allocations: 30.45 kB / 0.819 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.1565, allocations: 8.859 kB / 0.8191 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1565, allocations: 0 / 0.8191 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1565, allocations: 30.56 kB / 0.8191 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1565, allocations: 4.062 kB / 0.8191 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.1567, allocations: 33.64 kB / 0.8191 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1567, allocations: 55.39 kB / 0.8192 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1568, allocations: 118 kB / 0.8193 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1568, allocations: 29.7 kB / 0.8193 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.1569, allocations: 88.09 kB / 0.8194 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.1569, allocations: 0 / 0.8194 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1569, allocations: 13.72 kB / 0.8194 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1571, allocations: 310.8 kB / 0.8197 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.1571, allocations: 7.984 kB / 0.8197 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.1571, allocations: 8 kB / 0.8197 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.1571, allocations: 16.86 kB / 0.8197 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1571, allocations: 3.938 kB / 0.8197 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.816e-05/0.1572, allocations: 37.64 kB / 0.8198 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1572, allocations: 4 kB / 0.8198 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1572, allocations: 0 / 0.8198 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1572, allocations: 0 / 0.8198 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.1573, allocations: 7.984 kB / 0.8198 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1573, allocations: 0 / 0.8198 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.1573, allocations: 3.953 kB / 0.8198 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.1573, allocations: 0 / 0.8198 GB, free: 2.016 MB / 0.5606 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.05e-05/0.1574, allocations: 117.8 kB / 0.8199 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.1574, allocations: 4 kB / 0.8199 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.455e-05/0.1575, allocations: 41.22 kB / 0.8199 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1575, allocations: 0 / 0.8199 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1575, allocations: 3.938 kB / 0.82 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1575, allocations: 0 / 0.82 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1576, allocations: 161.5 kB / 0.8201 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1576, allocations: 0 / 0.8201 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-05/0.1577, allocations: 4 kB / 0.8201 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1577, allocations: 4.031 kB / 0.8201 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1577, allocations: 0 / 0.8201 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1577, allocations: 320 / 0.8201 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1577, allocations: 0 / 0.8201 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1578, allocations: 139.4 kB / 0.8202 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1578, allocations: 77.11 kB / 0.8203 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1578, allocations: 4 kB / 0.8203 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.1579, allocations: 4.031 kB / 0.8203 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.1579, allocations: 3.984 kB / 0.8203 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1579, allocations: 0 / 0.8203 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.158, allocations: 91.27 kB / 0.8204 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.158, allocations: 0 / 0.8204 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002261/0.1582, allocations: 4 kB / 0.8204 GB, free: 1.27 MB / 0.5606 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.0006287/0.1588, allocations: 0.7025 MB / 0.8211 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.1589, allocations: 7.938 kB / 0.8211 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1589, allocations: 0 / 0.8211 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.1589, allocations: 4.031 kB / 0.8211 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1591, allocations: 8.062 kB / 0.8211 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1603, allocations: 1.179 MB / 0.8223 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1607, allocations: 0.6808 MB / 0.8229 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.161e-05/0.1608, allocations: 7.938 kB / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1608, allocations: 7.438 kB / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1608, allocations: 0 / 0.823 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.1844, allocations: 1.41 MB / 0.8243 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.065, allocations: 12.62 kB / 0.8243 GB, free: 13.21 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_WeeklySchedule.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.112002927809954] Failed to read output from testmodel.py, exit status != 0: 8.132834371179342 8.158663097 7.998506587 Calling exit ...