Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0006568/0.0006568, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.00113/0.00113, allocations: 208.6 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9159/0.9159, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7793/0.7793, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00108/0.00108, allocations: 74.61 kB / 0.7178 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5067, allocations: 102 MB / 0.8174 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002155/0.5089, allocations: 1.505 MB / 0.8188 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.5103, allocations: 1.2 MB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.5104, allocations: 3.938 kB / 0.82 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.5106, allocations: 25.55 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.5108, allocations: 40.38 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.511, allocations: 60.16 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.5112, allocations: 146.3 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.5113, allocations: 38.42 kB / 0.8203 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.5114, allocations: 87.94 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.5115, allocations: 56.72 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.5116, allocations: 11 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.48e-05/0.5116, allocations: 23.44 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.728e-05/0.5117, allocations: 54.62 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.5118, allocations: 62.2 kB / 0.8206 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.5121, allocations: 204 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5121, allocations: 0 / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5121, allocations: 0 / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5121, allocations: 0 / 0.8208 GB, free: 15.05 MB / 0.6198 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.0006075/0.5127, allocations: 425.3 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5127, allocations: 10.41 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.5128, allocations: 42.94 kB / 0.8212 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.5128, allocations: 22.69 kB / 0.8213 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.5131, allocations: 204.2 kB / 0.8215 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.5133, allocations: 223.3 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.5133, allocations: 7.25 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.5136, allocations: 261.2 kB / 0.8219 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.5136, allocations: 0 / 0.8219 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5136, allocations: 0 / 0.8219 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5137, allocations: 14.8 kB / 0.8219 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.949e-05/0.5137, allocations: 47.23 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.5145, allocations: 405.9 kB / 0.8224 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.5146, allocations: 37.02 kB / 0.8224 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.5147, allocations: 20.42 kB / 0.8224 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.5147, allocations: 4.266 kB / 0.8224 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.5147, allocations: 38.22 kB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.5147, allocations: 3.938 kB / 0.8225 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002533/0.515, allocations: 102.5 kB / 0.8226 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.515, allocations: 56.72 kB / 0.8226 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.5152, allocations: 223.7 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.5152, allocations: 25.7 kB / 0.8229 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/0.5153, allocations: 122.7 kB / 0.823 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.5153, allocations: 32.58 kB / 0.823 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.5154, allocations: 34.14 kB / 0.823 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5155, allocations: 326.1 kB / 0.8233 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.5155, allocations: 31.78 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.5156, allocations: 98.16 kB / 0.8235 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.5157, allocations: 141 kB / 0.8236 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5157, allocations: 1.344 kB / 0.8236 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001812/0.5159, allocations: 152.3 kB / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.5159, allocations: 10.47 kB / 0.8238 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5159, allocations: 6.875 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.516, allocations: 4.219 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.516, allocations: 22.02 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5161, allocations: 10.75 kB / 0.8238 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.5161, allocations: 16.47 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.5161, allocations: 7.828 kB / 0.8238 GB, free: 12.52 MB / 0.6198 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.0001048/0.5162, allocations: 138.2 kB / 0.824 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.5163, allocations: 19.17 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.5165, allocations: 114 kB / 0.8241 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5165, allocations: 1.906 kB / 0.8241 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5165, allocations: 9.125 kB / 0.8241 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5165, allocations: 0.5156 kB / 0.8241 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.5167, allocations: 192.7 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.5167, allocations: 1.859 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/0.5167, allocations: 13.81 kB / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5167, allocations: 0 / 0.8243 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.5167, allocations: 6.078 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5167, allocations: 1.469 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5167, allocations: 3.938 kB / 0.8243 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.5169, allocations: 186.3 kB / 0.8245 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.5169, allocations: 15.02 kB / 0.8245 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.517, allocations: 4 kB / 0.8245 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.5171, allocations: 20.84 kB / 0.8245 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.5171, allocations: 9.703 kB / 0.8245 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.5172, allocations: 11.12 kB / 0.8245 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001444/0.5173, allocations: 163.5 kB / 0.8247 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5173, allocations: 0 / 0.8247 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002596/0.5176, allocations: 36.05 kB / 0.8247 GB, free: 11.84 MB / 0.6198 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.0008908/0.5184, allocations: 0.748 MB / 0.8255 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5186, allocations: 65.72 kB / 0.8255 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5186, allocations: 0 / 0.8255 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.5187, allocations: 35.06 kB / 0.8256 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.519, allocations: 28.55 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.5207, allocations: 1.92 MB / 0.8275 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.5209, allocations: 117.3 kB / 0.8276 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.521, allocations: 62.52 kB / 0.8276 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.5211, allocations: 45.22 kB / 0.8277 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.5211, allocations: 1.094 kB / 0.8277 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.5446, allocations: 4.887 MB / 0.8324 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/7.284, allocations: 5.25 kB / 0.8325 GB, free: 8.289 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.091093957889825] Failed to read output from testmodel.py, exit status != 0: 7.367608808912337 7.380194217 6.86585835 Calling exit ...