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.001951/0.001951, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.002256/0.002256, allocations: 185.9 kB / 20.78 MB, free: 1.52 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: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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: 175.7 MB / 480.2 MB, free: 2.754 MB / 366.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: translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 66.8 kB / 0.6684 GB, free: 10.66 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1932, allocations: 94.53 MB / 0.7607 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002923/0.1962, allocations: 1.497 MB / 0.7621 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1979, allocations: 1.172 MB / 0.7633 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.1979, allocations: 4 kB / 0.7633 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1982, allocations: 19.86 kB / 0.7633 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1983, allocations: 35.78 kB / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1985, allocations: 67.59 kB / 0.7634 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1987, allocations: 147.5 kB / 0.7635 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.1989, allocations: 45.02 kB / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.199, allocations: 79.77 kB / 0.7637 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1992, allocations: 59.7 kB / 0.7637 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.1992, allocations: 11.94 kB / 0.7637 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.1993, allocations: 27.98 kB / 0.7638 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.1994, allocations: 47.83 kB / 0.7638 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.1995, allocations: 75.58 kB / 0.7639 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1997, allocations: 203.2 kB / 0.7641 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1997, allocations: 4 kB / 0.7641 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1997, allocations: 0 / 0.7641 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1997, allocations: 0 / 0.7641 GB, free: 12.82 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.00073/0.2005, allocations: 0.4907 MB / 0.7645 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2005, allocations: 8.031 kB / 0.7646 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.2006, allocations: 16.84 kB / 0.7646 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.2009, allocations: 256 kB / 0.7648 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.201, allocations: 123.3 kB / 0.7649 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.2011, allocations: 8.312 kB / 0.7649 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.2014, allocations: 165.7 kB / 0.7651 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2014, allocations: 0 / 0.7651 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2015, allocations: 4 kB / 0.7651 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.2015, allocations: 8 kB / 0.7651 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2016, allocations: 43.97 kB / 0.7652 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.203, allocations: 456.4 kB / 0.7656 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.2031, allocations: 38.55 kB / 0.7656 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.2031, allocations: 24.84 kB / 0.7656 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2032, allocations: 8.141 kB / 0.7657 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.2032, allocations: 34.5 kB / 0.7657 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.2032, allocations: 4 kB / 0.7657 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003365/0.2035, allocations: 105.6 kB / 0.7658 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.2036, allocations: 51.41 kB / 0.7658 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.2039, allocations: 219.7 kB / 0.7661 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.2039, allocations: 25.7 kB / 0.7661 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.204, allocations: 128.1 kB / 0.7662 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.2041, allocations: 27.84 kB / 0.7662 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.2041, allocations: 29.72 kB / 0.7663 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.2043, allocations: 330.8 kB / 0.7666 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.2043, allocations: 23.98 kB / 0.7666 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2045, allocations: 106.2 kB / 0.7667 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.2047, allocations: 142.2 kB / 0.7668 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.2047, allocations: 4 kB / 0.7668 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002568/0.2049, allocations: 153.6 kB / 0.767 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.205, allocations: 4 kB / 0.767 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.205, allocations: 4 kB / 0.767 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.205, allocations: 7.938 kB / 0.767 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.2051, allocations: 27.92 kB / 0.767 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.2051, allocations: 7.938 kB / 0.767 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.2052, allocations: 15.89 kB / 0.767 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.2052, allocations: 4 kB / 0.767 GB, free: 9.445 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.000138/0.2053, allocations: 145.8 kB / 0.7672 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.2054, allocations: 15.97 kB / 0.7672 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.2056, allocations: 131.1 kB / 0.7673 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2056, allocations: 0 / 0.7673 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2056, allocations: 3.938 kB / 0.7673 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2056, allocations: 0 / 0.7673 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2059, allocations: 229.6 kB / 0.7675 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2059, allocations: 0 / 0.7675 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.206, allocations: 16 kB / 0.7676 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.206, allocations: 0 / 0.7676 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.206, allocations: 11.98 kB / 0.7676 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.206, allocations: 4.078 kB / 0.7676 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.206, allocations: 7.922 kB / 0.7676 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.2062, allocations: 183.4 kB / 0.7678 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/0.2063, allocations: 89.02 kB / 0.7678 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2063, allocations: 7.938 kB / 0.7679 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2065, allocations: 19.97 kB / 0.7679 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.2065, allocations: 7.938 kB / 0.7679 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.2066, allocations: 15.98 kB / 0.7679 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000149/0.2067, allocations: 157.5 kB / 0.768 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2067, allocations: 0 / 0.768 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003055/0.207, allocations: 39.88 kB / 0.7681 GB, free: 8.277 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.0002557/0.2073, allocations: 127.2 kB / 0.7682 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001717/0.2075, allocations: 71.83 kB / 0.7683 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2075, allocations: 0 / 0.7683 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.2075, allocations: 23.98 kB / 0.7683 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2078, allocations: 18.19 kB / 0.7683 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006544/0.2085, allocations: 303.3 kB / 0.7686 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.2088, allocations: 0.7324 MB / 0.7693 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.209, allocations: 52.78 kB / 0.7694 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.209, allocations: 19.42 kB / 0.7694 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.209, allocations: 0 / 0.7694 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of Templates: time 0.006542/0.2155, allocations: 2.409 MB / 0.7717 GB, free: 4.496 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.381467022001743]