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.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.001286/0.001286, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001401/0.001401, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002489/0.002489, allocations: 290 kB / 313.5 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.198/1.198, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002853/0.002853, allocations: 112 kB / 0.7403 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1608, allocations: 95.38 MB / 0.8335 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002716/0.1635, allocations: 1.521 MB / 0.835 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1652, allocations: 1.236 MB / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.1653, allocations: 0 / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.1654, allocations: 15.86 kB / 0.8362 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1656, allocations: 43.78 kB / 0.8362 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.1658, allocations: 63.53 kB / 0.8363 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.166, allocations: 147.5 kB / 0.8364 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1662, allocations: 45.48 kB / 0.8365 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.1663, allocations: 83.7 kB / 0.8366 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1664, allocations: 59.64 kB / 0.8366 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1665, allocations: 8 kB / 0.8366 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.1665, allocations: 28 kB / 0.8366 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.392e-05/0.1666, allocations: 55.81 kB / 0.8367 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.1667, allocations: 79.58 kB / 0.8368 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.167, allocations: 187.3 kB / 0.837 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.167, allocations: 0 / 0.837 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.167, allocations: 0 / 0.837 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.167, allocations: 0 / 0.837 GB, free: 5.043 MB / 0.5762 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.0006761/0.1677, allocations: 425.3 kB / 0.8374 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1677, allocations: 9.344 kB / 0.8374 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.76e-05/0.1677, allocations: 8.188 kB / 0.8374 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.1678, allocations: 50.67 kB / 0.8374 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.1678, allocations: 20.8 kB / 0.8374 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1681, allocations: 194.1 kB / 0.8376 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.1683, allocations: 226.2 kB / 0.8378 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1683, allocations: 12.11 kB / 0.8379 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1687, allocations: 165.5 kB / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1687, allocations: 0 / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.1687, allocations: 0 / 0.838 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.1688, allocations: 12 kB / 0.838 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.1688, allocations: 43.97 kB / 0.8381 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.1699, allocations: 423.5 kB / 0.8385 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.1699, allocations: 38.56 kB / 0.8385 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.17, allocations: 24.84 kB / 0.8385 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.17, allocations: 4.141 kB / 0.8385 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.17, allocations: 38.56 kB / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.17, allocations: 0 / 0.8386 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002762/0.1703, allocations: 109.5 kB / 0.8387 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.1703, allocations: 55.34 kB / 0.8387 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1706, allocations: 224.4 kB / 0.8389 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1706, allocations: 25.7 kB / 0.839 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.1707, allocations: 124.2 kB / 0.8391 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.1707, allocations: 27.8 kB / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1708, allocations: 33.7 kB / 0.8391 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1709, allocations: 322.8 kB / 0.8395 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.171, allocations: 27.98 kB / 0.8395 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1711, allocations: 98.28 kB / 0.8396 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1713, allocations: 150 kB / 0.8397 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1713, allocations: 3.938 kB / 0.8397 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002471/0.1715, allocations: 149.3 kB / 0.8399 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1715, allocations: 8 kB / 0.8399 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1715, allocations: 384 / 0.8399 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1715, allocations: 8 kB / 0.8399 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1716, allocations: 31.86 kB / 0.8399 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1717, allocations: 4 kB / 0.8399 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.1717, allocations: 15.89 kB / 0.8399 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1717, allocations: 8 kB / 0.8399 GB, free: 1.668 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.0001281/0.1719, allocations: 141.8 kB / 0.8401 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1719, allocations: 15.91 kB / 0.8401 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.1721, allocations: 123.1 kB / 0.8402 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1721, allocations: 7.938 kB / 0.8402 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1722, allocations: 0 / 0.8402 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1722, allocations: 0 / 0.8402 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1724, allocations: 204.6 kB / 0.8404 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1724, allocations: 0 / 0.8404 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.1725, allocations: 15.94 kB / 0.8404 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1725, allocations: 7.969 kB / 0.8404 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1725, allocations: 4 kB / 0.8404 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1725, allocations: 3.938 kB / 0.8404 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1725, allocations: 0 / 0.8404 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1727, allocations: 195.4 kB / 0.8406 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.1727, allocations: 7.953 kB / 0.8406 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.1727, allocations: 0 / 0.8406 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.173, allocations: 27.91 kB / 0.8407 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.173, allocations: 4 kB / 0.8407 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.173, allocations: 11.97 kB / 0.8407 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001527/0.1732, allocations: 165.5 kB / 0.8408 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1732, allocations: 4 kB / 0.8408 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003172/0.1735, allocations: 35.89 kB / 0.8409 GB, free: 0.6406 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.0006499/0.1741, allocations: 0.7508 MB / 0.8416 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1743, allocations: 67.84 kB / 0.8417 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1743, allocations: 0 / 0.8417 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.1744, allocations: 27.92 kB / 0.8417 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1747, allocations: 21.17 kB / 0.8417 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1767, allocations: 1.918 MB / 0.8436 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.177, allocations: 0.7275 MB / 0.8443 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.1771, allocations: 60.86 kB / 0.8444 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.1772, allocations: 47.42 kB / 0.8444 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.1772, allocations: 3.938 kB / 0.8444 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.2029, allocations: 4.418 MB / 0.8487 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.62, allocations: 11.33 kB / 0.8487 GB, free: 8.59 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.795941074029543] Failed to read output from testmodel.py, exit status != 0: 11.7879845330026 11.813261455 11.642729592 Calling exit ...