Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.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.001423/0.001423, allocations: 106.7 kB / 16.4 MB, free: 6.512 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.001399/0.001399, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.411/1.411, allocations: 222.9 MB / 245.1 MB, free: 15 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.089/1.089, allocations: 173.4 MB / 470.6 MB, free: 13.62 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.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 63.62 kB / 0.6478 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1793, allocations: 89.52 MB / 0.7352 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002542/0.1819, allocations: 1.351 MB / 0.7365 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.1821, allocations: 39.81 kB / 0.7365 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.1821, allocations: 3.938 kB / 0.7365 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1823, allocations: 11.94 kB / 0.7365 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1824, allocations: 15.92 kB / 0.7366 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.748e-06/0.1824, allocations: 0 / 0.7366 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.499e-05/0.1825, allocations: 11.92 kB / 0.7366 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.1825, allocations: 4 kB / 0.7366 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.1826, allocations: 15.92 kB / 0.7366 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.1826, allocations: 0 / 0.7366 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1826, allocations: 8 kB / 0.7366 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.663e-05/0.1827, allocations: 11.98 kB / 0.7366 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.913e-05/0.1827, allocations: 7.938 kB / 0.7366 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.1828, allocations: 3.938 kB / 0.7366 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.76e-05/0.1829, allocations: 31.91 kB / 0.7367 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1829, allocations: 0 / 0.7367 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1829, allocations: 3.938 kB / 0.7367 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1829, allocations: 0 / 0.7367 GB, free: 0.7695 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.0003882/0.1833, allocations: 331.3 kB / 0.737 GB, free: 404 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1833, allocations: 8.031 kB / 0.737 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1834, allocations: 42.7 kB / 0.737 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.1834, allocations: 4.938 kB / 0.737 GB, free: 340 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1836, allocations: 172.3 kB / 0.7372 GB, free: 128 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1836, allocations: 384 / 0.7372 GB, free: 128 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.1836, allocations: 384 / 0.7372 GB, free: 128 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.046e-05/0.1837, allocations: 34.25 kB / 0.7372 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1838, allocations: 3.938 kB / 0.7372 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1838, allocations: 4 kB / 0.7372 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1838, allocations: 0 / 0.7372 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.1838, allocations: 15.94 kB / 0.7372 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1842, allocations: 241 kB / 0.7375 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.1842, allocations: 18.52 kB / 0.7375 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.1842, allocations: 12.91 kB / 0.7375 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1843, allocations: 7.938 kB / 0.7375 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1843, allocations: 30.56 kB / 0.7375 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1843, allocations: 4 kB / 0.7375 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.1845, allocations: 41.62 kB / 0.7376 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1845, allocations: 55.34 kB / 0.7376 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1846, allocations: 113.8 kB / 0.7378 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1847, allocations: 25.7 kB / 0.7378 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.1847, allocations: 84.14 kB / 0.7379 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.1847, allocations: 7.953 kB / 0.7379 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.1848, allocations: 9.844 kB / 0.7379 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1849, allocations: 322.8 kB / 0.7382 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.1849, allocations: 0 / 0.7382 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.1849, allocations: 0 / 0.7382 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.185, allocations: 16.8 kB / 0.7382 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.185, allocations: 3.938 kB / 0.7382 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.052e-05/0.185, allocations: 37.69 kB / 0.7382 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1851, allocations: 6.188 kB / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1851, allocations: 4.094 kB / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1851, allocations: 4 kB / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.1852, allocations: 0 / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1852, allocations: 0 / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.1852, allocations: 0 / 0.7382 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1852, allocations: 0 / 0.7382 GB, free: 14.91 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 8.839e-05/0.1853, allocations: 113.8 kB / 0.7384 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1853, allocations: 3.953 kB / 0.7384 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1854, allocations: 53.09 kB / 0.7384 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1854, allocations: 4.031 kB / 0.7384 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1854, allocations: 0 / 0.7384 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1854, allocations: 0 / 0.7384 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1856, allocations: 161.6 kB / 0.7386 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1856, allocations: 4 kB / 0.7386 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.1857, allocations: 3.984 kB / 0.7386 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1857, allocations: 0 / 0.7386 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1857, allocations: 0 / 0.7386 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1857, allocations: 0 / 0.7386 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1857, allocations: 4 kB / 0.7386 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1858, allocations: 139.4 kB / 0.7387 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.1859, allocations: 85.05 kB / 0.7388 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1859, allocations: 0 / 0.7388 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.1859, allocations: 0 / 0.7388 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.1859, allocations: 3.938 kB / 0.7388 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1859, allocations: 0 / 0.7388 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.631e-05/0.186, allocations: 99.2 kB / 0.7389 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 0 / 0.7389 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000222/0.1863, allocations: 8.031 kB / 0.7389 GB, free: 14.13 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.0005524/0.1868, allocations: 0.673 MB / 0.7396 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.1869, allocations: 11.94 kB / 0.7396 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1869, allocations: 0 / 0.7396 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.1869, allocations: 4 kB / 0.7396 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.1871, allocations: 6.234 kB / 0.7396 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1883, allocations: 1.186 MB / 0.7407 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1886, allocations: 0.6807 MB / 0.7414 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.575e-05/0.1887, allocations: 4 kB / 0.7414 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1887, allocations: 19.45 kB / 0.7414 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1887, allocations: 0 / 0.7414 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2101, allocations: 1.369 MB / 0.7428 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.527, allocations: 22.05 kB / 0.7428 GB, free: 10.1 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.664185483939946] Failed to read output from testmodel.py, exit status != 0: 8.59630436100997 8.919912838 8.734394925 Calling exit ...