Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009331/0.0009331, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001067/0.001067, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5587/0.5587, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5542 GB, free: 1.719 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.969e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.715 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002076/0.002096, allocations: 1.484 MB / 0.5556 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.003353, allocations: 1.218 MB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.225e-05/0.003425, allocations: 3.938 kB / 0.5568 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.003623, allocations: 19.86 kB / 0.5568 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.00384, allocations: 47.7 kB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.004, allocations: 54.42 kB / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.004172, allocations: 147.5 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.00431, allocations: 41.22 kB / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.004416, allocations: 107.7 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.004515, allocations: 47.88 kB / 0.5573 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.004543, allocations: 12 kB / 0.5573 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/0.004612, allocations: 16 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.004678, allocations: 55.81 kB / 0.5573 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.004728, allocations: 43.89 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.004956, allocations: 219.3 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004958, allocations: 0 / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.004959, allocations: 0 / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.004965, allocations: 8 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB 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.0005253/0.005491, allocations: 421.3 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005529, allocations: 8.031 kB / 0.558 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.005565, allocations: 42.75 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.005612, allocations: 16.84 kB / 0.5581 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.005867, allocations: 209.4 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.005985, allocations: 218.2 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.005998, allocations: 8.375 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.006254, allocations: 263.6 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.006262, allocations: 4.188 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.006277, allocations: 7.875 kB / 0.5587 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.0063, allocations: 8 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.006359, allocations: 51.84 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008523/0.007212, allocations: 403.6 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.209e-05/0.007274, allocations: 38.5 kB / 0.5592 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.007305, allocations: 24.84 kB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.007328, allocations: 4 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.00735, allocations: 34.56 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.007351, allocations: 0 / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002045/0.007555, allocations: 101.6 kB / 0.5594 GB, free: 12.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.007583, allocations: 51.41 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.007732, allocations: 211.9 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.007752, allocations: 37.7 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.00781, allocations: 116.1 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.007836, allocations: 35.88 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.007871, allocations: 25.72 kB / 0.5598 GB, free: 11.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.007961, allocations: 338.8 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.007996, allocations: 19.98 kB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.008064, allocations: 98.28 kB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.008177, allocations: 142.1 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.008179, allocations: 0 / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001523/0.008331, allocations: 157.3 kB / 0.5606 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.008343, allocations: 4 kB / 0.5606 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008349, allocations: 4 kB / 0.5606 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.00836, allocations: 4 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.00843, allocations: 27.98 kB / 0.5606 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.008437, allocations: 7.938 kB / 0.5606 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.008477, allocations: 11.89 kB / 0.5606 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.008487, allocations: 12.25 kB / 0.5606 GB, free: 10.75 MB / 490.7 MB 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.584e-05/0.008573, allocations: 150.5 kB / 0.5608 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.008601, allocations: 11.91 kB / 0.5608 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.008739, allocations: 119 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008741, allocations: 0 / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.008744, allocations: 0 / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.008746, allocations: 0 / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.00889, allocations: 192.5 kB / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008891, allocations: 0 / 0.5611 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.008917, allocations: 15.98 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.008918, allocations: 0 / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.008925, allocations: 8 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008927, allocations: 4 kB / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008927, allocations: 0 / 0.5611 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.009052, allocations: 195.3 kB / 0.5613 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.009065, allocations: 11.91 kB / 0.5613 GB, free: 9.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.009076, allocations: 3.938 kB / 0.5613 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.009192, allocations: 23.97 kB / 0.5613 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.009205, allocations: 7.984 kB / 0.5613 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.009219, allocations: 7.984 kB / 0.5613 GB, free: 9.941 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.589e-05/0.009305, allocations: 157.5 kB / 0.5615 GB, free: 9.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009305, allocations: 4 kB / 0.5615 GB, free: 9.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.009511, allocations: 35.88 kB / 0.5615 GB, free: 9.75 MB / 490.7 MB 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.0003823/0.009893, allocations: 0.7375 MB / 0.5622 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.01002, allocations: 76.64 kB / 0.5623 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01002, allocations: 0 / 0.5623 GB, free: 8.918 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.01004, allocations: 23.98 kB / 0.5623 GB, free: 8.895 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.01026, allocations: 20.14 kB / 0.5624 GB, free: 8.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.01157, allocations: 1.921 MB / 0.5642 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.01165, allocations: 126.6 kB / 0.5644 GB, free: 6.656 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.806e-05/0.01174, allocations: 52.5 kB / 0.5644 GB, free: 6.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.0118, allocations: 44.48 kB / 0.5644 GB, free: 6.562 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0118, allocations: 0 / 0.5644 GB, free: 6.562 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.02942, allocations: 5.004 MB / 0.5693 GB, free: 1.758 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.487, allocations: 9.562 kB / 0.5693 GB, free: 1.754 MB / 490.7 MB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.891524658538401] Failed to read output from testmodel.py, exit status != 0: 7.569831199012697 7.582285744 7.575603961 Calling exit ...