Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 101.2 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.1/1.1, allocations: 173.4 MB / 470.7 MB, free: 13.6 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 68.48 kB / 0.6478 GB, free: 11.76 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1913, allocations: 89.53 MB / 0.7352 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003716/0.1951, allocations: 1.474 MB / 0.7367 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1969, allocations: 1.105 MB / 0.7378 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.1969, allocations: 0 / 0.7378 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.1972, allocations: 27.84 kB / 0.7378 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1974, allocations: 43.77 kB / 0.7378 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.1976, allocations: 59.84 kB / 0.7379 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1978, allocations: 143.6 kB / 0.738 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.198, allocations: 73.28 kB / 0.7381 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1981, allocations: 79.77 kB / 0.7382 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1983, allocations: 55.64 kB / 0.7382 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.1984, allocations: 12 kB / 0.7382 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.1984, allocations: 24 kB / 0.7383 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.1985, allocations: 47.88 kB / 0.7383 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.1986, allocations: 75.52 kB / 0.7384 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1989, allocations: 207.2 kB / 0.7386 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1989, allocations: 0 / 0.7386 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1989, allocations: 0 / 0.7386 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1989, allocations: 0 / 0.7386 GB, free: 14.81 MB / 0.5762 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.0007287/0.1997, allocations: 498.5 kB / 0.739 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1997, allocations: 8.031 kB / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.1998, allocations: 50.66 kB / 0.7391 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.1999, allocations: 16.84 kB / 0.7391 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.2002, allocations: 260 kB / 0.7394 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.2004, allocations: 119.4 kB / 0.7395 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2004, allocations: 4.375 kB / 0.7395 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.2008, allocations: 165.4 kB / 0.7396 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2008, allocations: 3.938 kB / 0.7396 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2008, allocations: 0 / 0.7396 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.2009, allocations: 15.92 kB / 0.7397 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.201, allocations: 43.97 kB / 0.7397 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.2021, allocations: 464.4 kB / 0.7401 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.2022, allocations: 34.56 kB / 0.7402 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.864e-05/0.2022, allocations: 20.86 kB / 0.7402 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2022, allocations: 8.141 kB / 0.7402 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.472e-05/0.2023, allocations: 42.55 kB / 0.7402 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2023, allocations: 0 / 0.7402 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002736/0.2026, allocations: 101.5 kB / 0.7403 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2027, allocations: 55.34 kB / 0.7404 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.2029, allocations: 216.4 kB / 0.7406 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.203, allocations: 29.7 kB / 0.7406 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.203, allocations: 124.2 kB / 0.7407 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.2031, allocations: 27.78 kB / 0.7408 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.2031, allocations: 29.72 kB / 0.7408 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2033, allocations: 322.8 kB / 0.7411 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.2033, allocations: 31.97 kB / 0.7411 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2035, allocations: 98.28 kB / 0.7412 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.2037, allocations: 138.1 kB / 0.7414 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2037, allocations: 4 kB / 0.7414 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002467/0.2039, allocations: 153.3 kB / 0.7415 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2039, allocations: 8 kB / 0.7415 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2039, allocations: 0 / 0.7415 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.204, allocations: 4 kB / 0.7415 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2041, allocations: 31.86 kB / 0.7416 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2041, allocations: 8.625 kB / 0.7416 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.2042, allocations: 19.89 kB / 0.7416 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.2042, allocations: 4 kB / 0.7416 GB, free: 11.38 MB / 0.5762 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.0001321/0.2043, allocations: 149.8 kB / 0.7417 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.2044, allocations: 15.91 kB / 0.7417 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/0.2046, allocations: 126.8 kB / 0.7419 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.2047, allocations: 3.984 kB / 0.7419 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2047, allocations: 3.938 kB / 0.7419 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2047, allocations: 0 / 0.7419 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.205, allocations: 229.6 kB / 0.7421 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.205, allocations: 0 / 0.7421 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.205, allocations: 19.94 kB / 0.7421 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2051, allocations: 0 / 0.7421 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2051, allocations: 4 kB / 0.7421 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2051, allocations: 0 / 0.7421 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.2051, allocations: 7.922 kB / 0.7421 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.2053, allocations: 179.4 kB / 0.7423 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.2054, allocations: 93.02 kB / 0.7424 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.2054, allocations: 12 kB / 0.7424 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.2056, allocations: 15.92 kB / 0.7424 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.2057, allocations: 15.91 kB / 0.7424 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.2057, allocations: 11.98 kB / 0.7424 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00016/0.2059, allocations: 161.5 kB / 0.7426 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2059, allocations: 0 / 0.7426 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002976/0.2062, allocations: 31.94 kB / 0.7426 GB, free: 10.22 MB / 0.5762 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.0006704/0.2069, allocations: 0.7513 MB / 0.7434 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2071, allocations: 75.83 kB / 0.7434 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2071, allocations: 0 / 0.7434 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.532e-05/0.2071, allocations: 20 kB / 0.7434 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.2074, allocations: 30.05 kB / 0.7435 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.2096, allocations: 1.913 MB / 0.7453 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.21, allocations: 0.7353 MB / 0.7461 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.2102, allocations: 52.72 kB / 0.7461 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.2102, allocations: 51.42 kB / 0.7462 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2103, allocations: 3.938 kB / 0.7462 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.238, allocations: 4.221 MB / 0.7503 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.386, allocations: 11.34 kB / 0.7503 GB, free: 2.281 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.522540256846696] Failed to read output from testmodel.py, exit status != 0: 8.455689697992057 8.783611308 8.582408435 Calling exit ...