Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001445/0.001445, allocations: 111.4 kB / 16.41 MB, free: 6.492 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.001465/0.001465, allocations: 191.7 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.502/1.502, 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.125/1.125, allocations: 173.4 MB / 470.7 MB, free: 13.61 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.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 70.2 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1822, allocations: 89.53 MB / 0.7352 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002866/0.1851, allocations: 1.355 MB / 0.7366 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001853/0.1853, allocations: 43.81 kB / 0.7366 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.1854, allocations: 3.938 kB / 0.7366 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1855, allocations: 15.92 kB / 0.7366 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1857, allocations: 11.94 kB / 0.7366 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.1857, allocations: 0 / 0.7366 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.653e-05/0.1858, allocations: 23.91 kB / 0.7367 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1859, allocations: 288 / 0.7367 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.906e-05/0.1859, allocations: 7.938 kB / 0.7367 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.186, allocations: 15.98 kB / 0.7367 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.186, allocations: 0 / 0.7367 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-05/0.186, allocations: 8 kB / 0.7367 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1861, allocations: 7.938 kB / 0.7367 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.1861, allocations: 11.92 kB / 0.7367 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1862, allocations: 39.84 kB / 0.7367 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1863, allocations: 0 / 0.7367 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1863, allocations: 0 / 0.7367 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1863, allocations: 0 / 0.7367 GB, free: 0.7344 MB / 0.5606 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.0003996/0.1867, allocations: 335.3 kB / 0.7371 GB, free: 364 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1867, allocations: 8.031 kB / 0.7371 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.1868, allocations: 30.75 kB / 0.7371 GB, free: 316 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1868, allocations: 8.891 kB / 0.7371 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.187, allocations: 172.4 kB / 0.7373 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.187, allocations: 4.359 kB / 0.7373 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.187, allocations: 384 / 0.7373 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.1871, allocations: 38.19 kB / 0.7373 GB, free: 48 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1872, allocations: 3.938 kB / 0.7373 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1872, allocations: 0 / 0.7373 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.1872, allocations: 4 kB / 0.7373 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.1872, allocations: 8 kB / 0.7373 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.1875, allocations: 153.7 kB / 0.7375 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.1875, allocations: 14.58 kB / 0.7375 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.1875, allocations: 12.86 kB / 0.7375 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1876, allocations: 0 / 0.7375 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.1876, allocations: 42.55 kB / 0.7375 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1876, allocations: 3.938 kB / 0.7375 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.1878, allocations: 49.53 kB / 0.7376 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1879, allocations: 51.41 kB / 0.7376 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.188, allocations: 113.8 kB / 0.7378 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.188, allocations: 29.7 kB / 0.7378 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.1881, allocations: 84.14 kB / 0.7379 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1881, allocations: 0 / 0.7379 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1882, allocations: 21.83 kB / 0.7379 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1884, allocations: 310.8 kB / 0.7382 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.1884, allocations: 3.938 kB / 0.7382 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.1884, allocations: 8 kB / 0.7382 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.1884, allocations: 8.859 kB / 0.7382 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1885, allocations: 0 / 0.7382 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.501e-05/0.1885, allocations: 41.64 kB / 0.7382 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1886, allocations: 7.938 kB / 0.7382 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1886, allocations: 4.094 kB / 0.7383 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1886, allocations: 0 / 0.7383 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.1887, allocations: 4 kB / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1887, allocations: 0 / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.1887, allocations: 4 kB / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1887, allocations: 0 / 0.7383 GB, free: 14.95 MB / 0.5762 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 0.0001043/0.1888, allocations: 113.8 kB / 0.7384 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.1888, allocations: 7.922 kB / 0.7384 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.189, allocations: 45.23 kB / 0.7384 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.189, allocations: 0 / 0.7384 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.189, allocations: 0 / 0.7384 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.189, allocations: 3.984 kB / 0.7384 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1892, allocations: 157.7 kB / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1892, allocations: 0 / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.1892, allocations: 4 kB / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1892, allocations: 3.938 kB / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1892, allocations: 0 / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1892, allocations: 0 / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1892, allocations: 0 / 0.7386 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.1894, allocations: 73.05 kB / 0.7386 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.1894, allocations: 77.11 kB / 0.7387 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1894, allocations: 11.88 kB / 0.7387 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.1895, allocations: 0 / 0.7387 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.1895, allocations: 3.938 kB / 0.7387 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.1895, allocations: 0 / 0.7387 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.1896, allocations: 91.58 kB / 0.7388 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1896, allocations: 4.031 kB / 0.7388 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002911/0.1899, allocations: 8 kB / 0.7388 GB, free: 14.25 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 (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.0006424/0.1905, allocations: 0.6203 MB / 0.7394 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.1906, allocations: 7.984 kB / 0.7395 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.1906, allocations: 4 kB / 0.7395 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.1907, allocations: 0 / 0.7395 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1908, allocations: 10.03 kB / 0.7395 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1921, allocations: 1.11 MB / 0.7405 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1925, allocations: 0.6807 MB / 0.7412 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.986e-05/0.1926, allocations: 0 / 0.7412 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.1927, allocations: 23.41 kB / 0.7412 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.1927, allocations: 0 / 0.7412 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.2133, allocations: 1.398 MB / 0.7426 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.208, allocations: 0.6562 kB / 0.7426 GB, free: 10.35 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.451278412947431] Failed to read output from testmodel.py, exit status != 0: 8.276628112886101 8.594565961 8.405852457 Calling exit ...