Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007896/0.0007896, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.000866/0.000866, allocations: 169.8 kB / 23.18 MB, free: 1.383 MB / 18.57 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 0.9209/0.9209, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7399/0.7399, allocations: 154.7 MB / 414.7 MB, free: 0.7656 MB / 378.7 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 179] 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.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000921/0.000921, allocations: 70.05 kB / 0.6195 GB, free: 13.16 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5324, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002403/0.5348, allocations: 1.385 MB / 0.7204 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.535, allocations: 37.56 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.431e-05/0.5351, allocations: 1.469 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.5353, allocations: 18.09 kB / 0.7205 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.5354, allocations: 14.91 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.182e-06/0.5354, allocations: 0 / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.868e-05/0.5355, allocations: 17.19 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.5356, allocations: 6.859 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.27e-05/0.5357, allocations: 14.09 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.417e-05/0.5358, allocations: 12.92 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.5358, allocations: 1.438 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.92e-05/0.5359, allocations: 18.55 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.5359, allocations: 4.062 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.536, allocations: 9.469 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.5361, allocations: 34.5 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5361, allocations: 0 / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.907e-06/0.5362, allocations: 1.156 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.5362, allocations: 0 / 0.7206 GB, free: 22.59 MB / 0.6355 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.0003944/0.5366, allocations: 258.5 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.5366, allocations: 9.969 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.5367, allocations: 6.344 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.5369, allocations: 114.7 kB / 0.721 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5369, allocations: 6.031 kB / 0.721 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.5369, allocations: 4.312 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.537, allocations: 38.94 kB / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.537, allocations: 192 / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.537, allocations: 9.547 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.5371, allocations: 0.5156 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.5371, allocations: 3.375 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.5372, allocations: 103.4 kB / 0.7211 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.089e-05/0.5373, allocations: 18.53 kB / 0.7212 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.5373, allocations: 7.109 kB / 0.7212 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.5373, allocations: 4 kB / 0.7212 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.5373, allocations: 36.62 kB / 0.7212 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5373, allocations: 0.875 kB / 0.7212 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001981/0.5375, allocations: 42.56 kB / 0.7212 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.5376, allocations: 53.09 kB / 0.7213 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5377, allocations: 115.9 kB / 0.7214 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.5377, allocations: 25.7 kB / 0.7214 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.5377, allocations: 85.92 kB / 0.7215 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.5378, allocations: 4.797 kB / 0.7215 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.5378, allocations: 12.39 kB / 0.7215 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.5378, allocations: 318.7 kB / 0.7218 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.5378, allocations: 5.797 kB / 0.7218 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-06/0.5378, allocations: 1.438 kB / 0.7218 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.5379, allocations: 13.91 kB / 0.7219 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5379, allocations: 1.125 kB / 0.7219 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.193e-05/0.5379, allocations: 37.73 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5379, allocations: 9.25 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5379, allocations: 0 / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.538, allocations: 5.062 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.538, allocations: 5.734 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.538, allocations: 1.562 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.538, allocations: 7.938 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.538, allocations: 5.125 kB / 0.7219 GB, free: 21.19 MB / 0.6355 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 4.345e-05/0.5381, allocations: 110.2 kB / 0.722 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.5381, allocations: 6.688 kB / 0.722 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.5382, allocations: 49.94 kB / 0.7221 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5382, allocations: 5.375 kB / 0.7221 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5382, allocations: 0.8438 kB / 0.7221 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5382, allocations: 7.969 kB / 0.7221 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.996e-05/0.5382, allocations: 105.4 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5382, allocations: 1.094 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-06/0.5382, allocations: 1.469 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5382, allocations: 0.9844 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5382, allocations: 1.281 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-07/0.5382, allocations: 0 / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5383, allocations: 3.938 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.619e-05/0.5383, allocations: 64.39 kB / 0.7223 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.5383, allocations: 3.266 kB / 0.7223 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.5383, allocations: 4.031 kB / 0.7223 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.5383, allocations: 1.578 kB / 0.7223 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.5383, allocations: 5.641 kB / 0.7223 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-06/0.5383, allocations: 0 / 0.7223 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.5384, allocations: 91.22 kB / 0.7224 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5384, allocations: 1.094 kB / 0.7224 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001292/0.5385, allocations: 7.875 kB / 0.7224 GB, free: 20.73 MB / 0.6355 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.0002044/0.5387, allocations: 115 kB / 0.7225 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.478e-05/0.5388, allocations: 5.859 kB / 0.7225 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5388, allocations: 0 / 0.7225 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.5388, allocations: 7.828 kB / 0.7225 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.5389, allocations: 1.219 kB / 0.7225 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.5392, allocations: 118.9 kB / 0.7226 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.804e-05/0.5392, allocations: 61.62 kB / 0.7227 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.934e-05/0.5393, allocations: 13.34 kB / 0.7227 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.5393, allocations: 13.59 kB / 0.7227 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of SimCode: time 6.02e-07/0.5393, allocations: 0 / 0.7227 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of Templates: time 0.002198/0.5415, allocations: 0.5017 MB / 0.7232 GB, free: 20.32 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.378423057030886] Failed to read output from testmodel.py, exit status != 0: 0.5470929020084441 0.557044468 0.018205967 Calling exit ...