Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.0007385/0.0007385, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008436/0.0008436, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8851/0.8851, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.9809 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.81e-05, allocations: 9.172 kB / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.002029/0.002058, allocations: 1.373 MB / 0.9823 GB, free: 64 kB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.0001136/0.002171, allocations: 35.77 kB / 0.9823 GB, free: 28 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.00221, allocations: 0 / 0.9823 GB, free: 28 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.002368, allocations: 11.94 kB / 0.9823 GB, free: 16 kB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.002478, allocations: 11.92 kB / 0.9824 GB, free: 4 kB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.002481, allocations: 0 / 0.9824 GB, free: 4 kB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.002552, allocations: 20.03 kB / 0.9824 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.002592, allocations: 4 kB / 0.9824 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.002633, allocations: 7.938 kB / 0.9824 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.002682, allocations: 11.98 kB / 0.9824 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.002701, allocations: 4 kB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.41e-05/0.002745, allocations: 11.94 kB / 0.9824 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.002786, allocations: 3.938 kB / 0.9824 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.002801, allocations: 3.875 kB / 0.9824 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.266e-05/0.002893, allocations: 27.91 kB / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002895, allocations: 0 / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.092e-06/0.002896, allocations: 0 / 0.9824 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.0029, allocations: 0 / 0.9824 GB, free: 15.91 MB / 0.9011 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.0002693/0.00317, allocations: 266.1 kB / 0.9827 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.003212, allocations: 16.02 kB / 0.9827 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.003272, allocations: 34.75 kB / 0.9828 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.003294, allocations: 0.9375 kB / 0.9828 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.003416, allocations: 113.8 kB / 0.9829 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.003424, allocations: 4.312 kB / 0.9829 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.003431, allocations: 4.375 kB / 0.9829 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.003512, allocations: 34.25 kB / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.003519, allocations: 192 / 0.9829 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.003527, allocations: 8.359 kB / 0.9829 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.003542, allocations: 4.125 kB / 0.9829 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.003559, allocations: 4 kB / 0.9829 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.003777, allocations: 212 kB / 0.9831 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.003815, allocations: 22.58 kB / 0.9831 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.00383, allocations: 8.922 kB / 0.9831 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.003845, allocations: 0 / 0.9831 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.003864, allocations: 34.5 kB / 0.9832 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.003865, allocations: 0 / 0.9832 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001255/0.00399, allocations: 45.58 kB / 0.9832 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.004022, allocations: 51.41 kB / 0.9833 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.004101, allocations: 122 kB / 0.9834 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.004111, allocations: 25.7 kB / 0.9834 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.004142, allocations: 84.27 kB / 0.9835 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.004153, allocations: 4 kB / 0.9835 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.004176, allocations: 13.72 kB / 0.9835 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.004256, allocations: 326.8 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.004266, allocations: 4 kB / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.004271, allocations: 0 / 0.9838 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.752e-05/0.004289, allocations: 8.859 kB / 0.9838 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.004291, allocations: 0 / 0.9838 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.259e-05/0.004333, allocations: 49.52 kB / 0.9839 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.004345, allocations: 4 kB / 0.9839 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004349, allocations: 4.094 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.00436, allocations: 0 / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.004405, allocations: 4 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.004411, allocations: 4.062 kB / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-06/0.00442, allocations: 0 / 0.9839 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.004424, allocations: 0 / 0.9839 GB, free: 14.23 MB / 0.9011 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 5.043e-05/0.004475, allocations: 113.8 kB / 0.984 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.004487, allocations: 3.938 kB / 0.984 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.004549, allocations: 45.09 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.00455, allocations: 32 / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.004554, allocations: 4 kB / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004556, allocations: 0 / 0.9841 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.159e-05/0.004648, allocations: 128.8 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00465, allocations: 4 kB / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.004659, allocations: 0 / 0.9842 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.004662, allocations: 11.86 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.004667, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004668, allocations: 0 / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.00467, allocations: 4 kB / 0.9842 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.995e-05/0.00473, allocations: 135.5 kB / 0.9843 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-06/0.004738, allocations: 7.969 kB / 0.9843 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.004747, allocations: 0 / 0.9843 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.00477, allocations: 0 / 0.9843 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.004781, allocations: 7.984 kB / 0.9843 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.004783, allocations: 0 / 0.9843 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.004818, allocations: 91.22 kB / 0.9844 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.004818, allocations: 0 / 0.9844 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001491/0.004967, allocations: 4 kB / 0.9844 GB, free: 13.6 MB / 0.9011 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.0003614/0.005329, allocations: 0.693 MB / 0.9851 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.005392, allocations: 8 kB / 0.9851 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.005394, allocations: 0 / 0.9851 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.57e-06/0.0054, allocations: 7.938 kB / 0.9851 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.005551, allocations: 2.188 kB / 0.9851 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.006252, allocations: 1.179 MB / 0.9863 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.006295, allocations: 67.38 kB / 0.9863 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.006351, allocations: 4 kB / 0.9863 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.006382, allocations: 8.5 kB / 0.9864 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of SimCode: time 6.11e-07/0.006382, allocations: 0 / 0.9864 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.02111, allocations: 2.037 MB / 0.9883 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.133, allocations: 6.672 kB / 0.9884 GB, free: 9.605 MB / 0.9011 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_12_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.026424408890307] Failed to read output from testmodel.py, exit status != 0: 7.216796494089067 7.2277786 7.222562714 Calling exit ...