Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 167.5 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.176/1.176, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.25e-05, allocations: 6.219 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002392/0.002414, allocations: 1.36 MB / 0.6199 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.002582, allocations: 35.83 kB / 0.6199 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.002625, allocations: 4 kB / 0.6199 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.002808, allocations: 19.8 kB / 0.62 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.002927, allocations: 15.92 kB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.948e-06/0.002931, allocations: 0 / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.002998, allocations: 11.94 kB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.248e-05/0.00305, allocations: 11.98 kB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.913e-05/0.003099, allocations: 11.92 kB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.003146, allocations: 0 / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.003162, allocations: 4 kB / 0.62 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.081e-05/0.003213, allocations: 11.98 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.003252, allocations: 4 kB / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.003272, allocations: 7.938 kB / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.003371, allocations: 27.91 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003373, allocations: 0 / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.62e-07/0.003373, allocations: 0 / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003377, allocations: 0 / 0.6201 GB, free: 3.039 MB / 0.5294 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.0003624/0.003739, allocations: 262.1 kB / 0.6203 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.003777, allocations: 15.97 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.003803, allocations: 0.9375 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.00397, allocations: 121.7 kB / 0.6204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.00398, allocations: 384 / 0.6204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.00399, allocations: 4.375 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.004072, allocations: 30.27 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004081, allocations: 192 / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.004088, allocations: 384 / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.004111, allocations: 4.375 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.004133, allocations: 7.922 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.004288, allocations: 101.3 kB / 0.6206 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.774e-05/0.004346, allocations: 22.55 kB / 0.6206 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.004363, allocations: 4.859 kB / 0.6206 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.004384, allocations: 0 / 0.6206 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.004412, allocations: 38.61 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.004413, allocations: 4 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.004555, allocations: 41.64 kB / 0.6207 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.004592, allocations: 51.41 kB / 0.6207 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.004712, allocations: 113.8 kB / 0.6209 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.004729, allocations: 29.7 kB / 0.6209 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.004774, allocations: 84.14 kB / 0.621 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.004799, allocations: 7.938 kB / 0.621 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.00483, allocations: 17.7 kB / 0.621 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.004966, allocations: 318.8 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.004977, allocations: 128 / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.004983, allocations: 4 kB / 0.6213 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.005008, allocations: 8.859 kB / 0.6213 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00501, allocations: 0 / 0.6213 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.583e-05/0.005076, allocations: 45.62 kB / 0.6213 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.00509, allocations: 8 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.005094, allocations: 0 / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.005108, allocations: 0 / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.005153, allocations: 3.938 kB / 0.6214 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.005158, allocations: 0 / 0.6214 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.005173, allocations: 8.031 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.005178, allocations: 4 kB / 0.6214 GB, free: 1.527 MB / 0.5294 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 7.901e-05/0.005257, allocations: 107.7 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.005273, allocations: 11.94 kB / 0.6215 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.005357, allocations: 37.17 kB / 0.6215 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.005362, allocations: 3.984 kB / 0.6215 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.005368, allocations: 4 kB / 0.6215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005372, allocations: 3.938 kB / 0.6215 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.758e-05/0.005459, allocations: 105.2 kB / 0.6216 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.00546, allocations: 0 / 0.6216 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.005476, allocations: 11.97 kB / 0.6216 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005477, allocations: 0 / 0.6216 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.005486, allocations: 8 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005487, allocations: 0 / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005488, allocations: 0 / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.065e-05/0.005568, allocations: 61.06 kB / 0.6217 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.005579, allocations: 3.953 kB / 0.6217 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.005592, allocations: 4 kB / 0.6217 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.005601, allocations: 0 / 0.6217 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.005614, allocations: 3.984 kB / 0.6217 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.005616, allocations: 4.031 kB / 0.6217 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.005681, allocations: 91.28 kB / 0.6218 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.005681, allocations: 0 / 0.6218 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001864/0.005868, allocations: 7.938 kB / 0.6218 GB, free: 1 MB / 0.5294 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.0001947/0.006062, allocations: 106.7 kB / 0.6219 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.443e-05/0.006127, allocations: 7.938 kB / 0.6219 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006128, allocations: 8.062 kB / 0.6219 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.006135, allocations: 0 / 0.6219 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.006268, allocations: 4 kB / 0.6219 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.006528, allocations: 104.8 kB / 0.622 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.006579, allocations: 63.28 kB / 0.6221 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.006615, allocations: 8.531 kB / 0.6221 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.006637, allocations: 16.44 kB / 0.6221 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.006637, allocations: 0 / 0.6221 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of Templates: time 0.002786/0.009423, allocations: 480 kB / 0.6226 GB, free: 172 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.714134808629751] Failed to read output from testmodel.py, exit status != 0: 0.016888707876205444 0.030988103000000003 0.024710869 Calling exit ...