Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0008668/0.0008668, 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.0009457/0.0009457, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9017/0.9017, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.721/1.721, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.724e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002738/0.002755, allocations: 1.501 MB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003929, allocations: 1.208 MB / 0.9531 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.003977, allocations: 15.88 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.004143, allocations: 19.86 kB / 0.9532 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.004317, allocations: 39.72 kB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.004453, allocations: 58.97 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.004607, allocations: 151.5 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.004733, allocations: 37.22 kB / 0.9534 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.004832, allocations: 103.8 kB / 0.9535 GB, free: 388 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.004941, allocations: 47.89 kB / 0.9536 GB, free: 340 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.00497, allocations: 12 kB / 0.9536 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.005036, allocations: 23.98 kB / 0.9536 GB, free: 304 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.247e-05/0.005109, allocations: 51.83 kB / 0.9537 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.005162, allocations: 47.83 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.00543, allocations: 219.3 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005433, allocations: 0 / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.382e-06/0.005434, allocations: 0 / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.005439, allocations: 3.938 kB / 0.9539 GB, free: 15.98 MB / 0.9167 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.0005923/0.006032, allocations: 429.3 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.006068, allocations: 8.031 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.00611, allocations: 46.72 kB / 0.9544 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.00616, allocations: 20.8 kB / 0.9544 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.006382, allocations: 199.2 kB / 0.9546 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.006503, allocations: 226.2 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.006516, allocations: 8.359 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.00678, allocations: 260.9 kB / 0.9551 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.006786, allocations: 192 / 0.9551 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.006804, allocations: 7.938 kB / 0.9551 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.006826, allocations: 11.94 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.253e-05/0.006889, allocations: 43.97 kB / 0.9551 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.007535, allocations: 399.6 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.674e-05/0.007592, allocations: 30.56 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.007629, allocations: 28.84 kB / 0.9556 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.007655, allocations: 8 kB / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.007675, allocations: 30.56 kB / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.007676, allocations: 0 / 0.9556 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002081/0.007884, allocations: 109.9 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/0.008148, allocations: 55.41 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.008299, allocations: 219.8 kB / 0.956 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.008317, allocations: 25.7 kB / 0.956 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.008375, allocations: 124.2 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.008399, allocations: 27.8 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.008432, allocations: 25.7 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.008514, allocations: 338.8 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.008549, allocations: 19.98 kB / 0.9565 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.008627, allocations: 106.2 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.008749, allocations: 142.1 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.008752, allocations: 4 kB / 0.9567 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001611/0.008914, allocations: 149.6 kB / 0.9569 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.008927, allocations: 8.062 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.008933, allocations: 8.078 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.008947, allocations: 4 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.009025, allocations: 27.92 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.009033, allocations: 7.984 kB / 0.9569 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.009074, allocations: 11.89 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.009085, allocations: 11.94 kB / 0.957 GB, free: 12.52 MB / 0.9167 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 8.891e-05/0.009174, allocations: 149.7 kB / 0.9571 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.009204, allocations: 15.84 kB / 0.9571 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.009354, allocations: 115.3 kB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009356, allocations: 4 kB / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.00936, allocations: 0 / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.009363, allocations: 0 / 0.9572 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.009514, allocations: 188.6 kB / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.009518, allocations: 0 / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.009548, allocations: 15.98 kB / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.009551, allocations: 4 kB / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.009557, allocations: 0 / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.009558, allocations: 0 / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009558, allocations: 0 / 0.9574 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.009688, allocations: 191.3 kB / 0.9576 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.009707, allocations: 23.89 kB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.00972, allocations: 3.984 kB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.009839, allocations: 15.98 kB / 0.9576 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.009855, allocations: 7.984 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.009872, allocations: 11.98 kB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.009965, allocations: 161.5 kB / 0.9578 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009966, allocations: 0 / 0.9578 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002099/0.01018, allocations: 39.83 kB / 0.9579 GB, free: 11.52 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 (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.0004223/0.0106, allocations: 0.7588 MB / 0.9586 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.01072, allocations: 67.84 kB / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01072, allocations: 0.75 kB / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.01075, allocations: 23.98 kB / 0.9587 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.01097, allocations: 23.98 kB / 0.9587 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.01232, allocations: 1.913 MB / 0.9606 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.405e-05/0.0124, allocations: 126.2 kB / 0.9607 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.992e-05/0.01249, allocations: 52.92 kB / 0.9608 GB, free: 8.367 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.01256, allocations: 44.48 kB / 0.9608 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.01256, allocations: 4 kB / 0.9608 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.03165, allocations: 5.026 MB / 0.9657 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.236, allocations: 7.062 kB / 0.9657 GB, free: 3.469 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.249565896578133] Failed to read output from testmodel.py, exit status != 0: 7.322196518070996 7.334018609 7.326559936 Calling exit ...