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.001343/0.001344, allocations: 112.9 kB / 16.41 MB, free: 6.449 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.001567/0.001567, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.447/1.447, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.093/1.093, allocations: 173.4 MB / 470.7 MB, free: 13.58 MB / 382.1 MB " [Timeout remaining time 178] 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.00198/0.00198, allocations: 63.27 kB / 0.6478 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 89.53 MB / 0.7352 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002814/0.1812, allocations: 1.473 MB / 0.7367 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1828, allocations: 1.117 MB / 0.7378 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.1829, allocations: 0 / 0.7378 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1831, allocations: 19.86 kB / 0.7378 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.1833, allocations: 43.77 kB / 0.7378 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.1835, allocations: 55.86 kB / 0.7379 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1837, allocations: 143.6 kB / 0.738 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1839, allocations: 73.28 kB / 0.7381 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.184, allocations: 83.69 kB / 0.7382 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1842, allocations: 55.72 kB / 0.7382 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.1842, allocations: 8 kB / 0.7382 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.1843, allocations: 28 kB / 0.7383 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.332e-05/0.1844, allocations: 47.88 kB / 0.7383 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.074e-05/0.1845, allocations: 75.58 kB / 0.7384 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1848, allocations: 203.1 kB / 0.7386 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1848, allocations: 0 / 0.7386 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1848, allocations: 0 / 0.7386 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.1848, allocations: 0 / 0.7386 GB, free: 14.8 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.0007066/0.1855, allocations: 0.4946 MB / 0.7391 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1856, allocations: 12.03 kB / 0.7391 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.1856, allocations: 42.73 kB / 0.7391 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.1857, allocations: 16.84 kB / 0.7391 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.186, allocations: 252 kB / 0.7394 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1861, allocations: 119.4 kB / 0.7395 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.1862, allocations: 8.359 kB / 0.7395 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.1865, allocations: 157.5 kB / 0.7396 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1865, allocations: 3.984 kB / 0.7396 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.1866, allocations: 12 kB / 0.7396 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.1866, allocations: 11.92 kB / 0.7397 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.1867, allocations: 39.97 kB / 0.7397 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1878, allocations: 464.4 kB / 0.7401 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.1879, allocations: 34.56 kB / 0.7402 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.1879, allocations: 24.86 kB / 0.7402 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1879, allocations: 8.125 kB / 0.7402 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.188, allocations: 38.56 kB / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.188, allocations: 0 / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002884/0.1883, allocations: 109.5 kB / 0.7403 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1883, allocations: 59.34 kB / 0.7404 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1886, allocations: 220.4 kB / 0.7406 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1886, allocations: 29.7 kB / 0.7406 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.1887, allocations: 124.2 kB / 0.7408 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1887, allocations: 23.78 kB / 0.7408 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.1888, allocations: 25.72 kB / 0.7408 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.189, allocations: 326.8 kB / 0.7411 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.189, allocations: 27.97 kB / 0.7411 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1892, allocations: 106.2 kB / 0.7412 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1894, allocations: 142.2 kB / 0.7414 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1894, allocations: 0 / 0.7414 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002516/0.1896, allocations: 149.3 kB / 0.7415 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1896, allocations: 8.375 kB / 0.7415 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1897, allocations: 8 kB / 0.7415 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1897, allocations: 0 / 0.7415 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1898, allocations: 27.92 kB / 0.7416 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1898, allocations: 7.938 kB / 0.7416 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.1899, allocations: 15.83 kB / 0.7416 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1899, allocations: 12 kB / 0.7416 GB, free: 11.36 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.0001282/0.19, allocations: 141.8 kB / 0.7417 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.306e-05/0.1901, allocations: 15.91 kB / 0.7418 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.1903, allocations: 122.9 kB / 0.7419 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1903, allocations: 4 kB / 0.7419 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1903, allocations: 3.938 kB / 0.7419 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1903, allocations: 4 kB / 0.7419 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.1906, allocations: 229.6 kB / 0.7421 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1906, allocations: 3.938 kB / 0.7421 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.1907, allocations: 12 kB / 0.7421 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1907, allocations: 0 / 0.7421 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1907, allocations: 0 / 0.7421 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1907, allocations: 0 / 0.7421 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1907, allocations: 3.938 kB / 0.7421 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.191, allocations: 199.4 kB / 0.7423 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.191, allocations: 89.02 kB / 0.7424 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.191, allocations: 0 / 0.7424 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.1913, allocations: 15.98 kB / 0.7424 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.1913, allocations: 15.92 kB / 0.7424 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.1914, allocations: 7.984 kB / 0.7424 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001608/0.1915, allocations: 173.5 kB / 0.7426 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1915, allocations: 0 / 0.7426 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002985/0.1918, allocations: 27.94 kB / 0.7426 GB, free: 10.2 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.0006493/0.1925, allocations: 0.754 MB / 0.7434 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1927, allocations: 71.83 kB / 0.7434 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.1927, allocations: 0 / 0.7434 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.1927, allocations: 23.94 kB / 0.7435 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.193, allocations: 33.36 kB / 0.7435 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1952, allocations: 1.92 MB / 0.7454 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1956, allocations: 0.7314 MB / 0.7461 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.1957, allocations: 56.72 kB / 0.7461 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.1958, allocations: 47.42 kB / 0.7462 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.1958, allocations: 0 / 0.7462 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.2228, allocations: 4.221 MB / 0.7503 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.301, allocations: 3.984 kB / 0.7503 GB, free: 2.262 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 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.495662631932646] Failed to read output from testmodel.py, exit status != 0: 8.3738428929355 8.680555966 8.493467608 Calling exit ...