Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001001/0.001001, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001135/0.001135, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8744/0.8744, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.299e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001656/0.001679, allocations: 1.375 MB / 0.9518 GB, free: 2.113 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.001784, allocations: 39.83 kB / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.001821, allocations: 0 / 0.9519 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.001976, allocations: 11.86 kB / 0.9519 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.002084, allocations: 19.86 kB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.027e-06/0.002088, allocations: 0 / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.816e-05/0.002146, allocations: 19.92 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.002184, allocations: 0 / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.002227, allocations: 11.98 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.725e-05/0.002275, allocations: 7.938 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.002295, allocations: 0 / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.413e-05/0.00234, allocations: 19.92 kB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.002376, allocations: 4 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.002393, allocations: 7.922 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.167e-05/0.002475, allocations: 15.98 kB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.002478, allocations: 7.938 kB / 0.952 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002479, allocations: 3.938 kB / 0.952 GB, free: 1.945 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.035e-06/0.002482, allocations: 4 kB / 0.952 GB, free: 1.941 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.0002558/0.002738, allocations: 258.2 kB / 0.9522 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.002772, allocations: 8.031 kB / 0.9522 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.002822, allocations: 34.75 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.002841, allocations: 0.9375 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.002964, allocations: 121.7 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.002971, allocations: 4.375 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.002977, allocations: 4.312 kB / 0.9524 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.003049, allocations: 30.27 kB / 0.9524 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.003055, allocations: 192 / 0.9524 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.003063, allocations: 8.359 kB / 0.9524 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.003077, allocations: 4.125 kB / 0.9524 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.003095, allocations: 11.92 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.003295, allocations: 208.1 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.003329, allocations: 18.58 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.003343, allocations: 8.844 kB / 0.9527 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.003358, allocations: 4.062 kB / 0.9527 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.003374, allocations: 34.5 kB / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003375, allocations: 0 / 0.9527 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.003486, allocations: 45.69 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.00351, allocations: 55.44 kB / 0.9528 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.003575, allocations: 109.8 kB / 0.9529 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.003584, allocations: 29.7 kB / 0.9529 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.003614, allocations: 88.12 kB / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.003623, allocations: 0 / 0.953 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.003644, allocations: 13.72 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.003713, allocations: 318.8 kB / 0.9533 GB, free: 372 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-06/0.00372, allocations: 0 / 0.9533 GB, free: 372 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.003726, allocations: 4 kB / 0.9533 GB, free: 368 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.919e-05/0.003745, allocations: 20.84 kB / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.003747, allocations: 0 / 0.9534 GB, free: 344 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.117e-05/0.003788, allocations: 41.59 kB / 0.9534 GB, free: 296 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.0038, allocations: 10.34 kB / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.003804, allocations: 0 / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.003814, allocations: 0 / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.003853, allocations: 0 / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.003857, allocations: 0 / 0.9534 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.003873, allocations: 7.938 kB / 0.9534 GB, free: 280 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.003877, allocations: 0 / 0.9534 GB, free: 280 kB / 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 4.79e-05/0.003925, allocations: 115.8 kB / 0.9535 GB, free: 156 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.003938, allocations: 7.938 kB / 0.9535 GB, free: 148 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.003998, allocations: 53.34 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004, allocations: 0 / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.004003, allocations: 3.938 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.004005, allocations: 0 / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.004106, allocations: 128.8 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004107, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.004115, allocations: 4 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.004117, allocations: 3.938 kB / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.004121, allocations: 0 / 0.9537 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.004123, allocations: 8.016 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004123, allocations: 0 / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.547e-05/0.004179, allocations: 131.5 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.004187, allocations: 7.938 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.004196, allocations: 0 / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.004219, allocations: 0 / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.004232, allocations: 7.938 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-06/0.004233, allocations: 0 / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.004267, allocations: 95.27 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004267, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001499/0.004417, allocations: 8.031 kB / 0.954 GB, free: 15.63 MB / 0.9167 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.0003022/0.004719, allocations: 0.6759 MB / 0.9546 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.88e-05/0.004768, allocations: 4 kB / 0.9546 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004769, allocations: 7.938 kB / 0.9546 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.004773, allocations: 3.984 kB / 0.9546 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.004924, allocations: 12.16 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.005662, allocations: 1.171 MB / 0.9558 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.0057, allocations: 59.34 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.005737, allocations: 11.92 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.005766, allocations: 16.5 kB / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of SimCode: time 3.8e-07/0.005766, allocations: 0 / 0.9559 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.01918, allocations: 2.037 MB / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/6.872, allocations: 5.812 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.65751374233514] Failed to read output from testmodel.py, exit status != 0: 6.952612422406673 6.960908972 6.956705099 Calling exit ...