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.0007715/0.0007715, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007462/0.0007462, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8347/0.8347, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6811/0.6811, allocations: 154.6 MB / 414.5 MB, free: 0.7617 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.432e-05, allocations: 5.125 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002096/0.00212, allocations: 1.385 MB / 0.6207 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.002256, allocations: 31.91 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.002299, allocations: 3.938 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.002464, allocations: 19.84 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.00257, allocations: 11.94 kB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.002574, allocations: 0 / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.328e-05/0.002647, allocations: 23.86 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.002689, allocations: 0 / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.518e-05/0.002734, allocations: 11.98 kB / 0.6208 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.002787, allocations: 15.91 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.002807, allocations: 0 / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-05/0.002854, allocations: 15.98 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.976e-05/0.002894, allocations: 8 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.002909, allocations: 0 / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003028, allocations: 35.83 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.003031, allocations: 4 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003033, allocations: 3.938 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.003037, allocations: 0 / 0.6208 GB, free: 11.6 MB / 0.5886 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.000277/0.003314, allocations: 254.2 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.003351, allocations: 12.03 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.00338, allocations: 0.9375 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.00351, allocations: 117.7 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.003517, allocations: 4.375 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.003526, allocations: 4.375 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.343e-05/0.003599, allocations: 26.27 kB / 0.6212 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.003606, allocations: 192 / 0.6212 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003615, allocations: 4.375 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.003634, allocations: 384 / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.882e-05/0.003653, allocations: 11.88 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.003768, allocations: 109.3 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.937e-05/0.003807, allocations: 18.58 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.003821, allocations: 8.922 kB / 0.6214 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.00384, allocations: 4 kB / 0.6214 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.003863, allocations: 34.56 kB / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.003863, allocations: 0 / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.003991, allocations: 45.62 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.004022, allocations: 51.41 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.004109, allocations: 121.8 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.004119, allocations: 25.7 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.004148, allocations: 80.14 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.004171, allocations: 3.953 kB / 0.6217 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.004198, allocations: 17.72 kB / 0.6217 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.004283, allocations: 319 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.004294, allocations: 4 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.0043, allocations: 0 / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.428e-05/0.004324, allocations: 16.8 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004326, allocations: 0 / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.343e-05/0.00437, allocations: 37.69 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.004383, allocations: 4 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.004389, allocations: 0 / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.004403, allocations: 0 / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.004456, allocations: 4 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.004461, allocations: 4.094 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.03e-05/0.004471, allocations: 3.938 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.004477, allocations: 4 kB / 0.6221 GB, free: 10.1 MB / 0.5886 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 5.503e-05/0.004532, allocations: 114.8 kB / 0.6222 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.004539, allocations: 3.953 kB / 0.6222 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.979e-05/0.004619, allocations: 56.98 kB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.004621, allocations: 0 / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.004625, allocations: 0 / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.004628, allocations: 3.938 kB / 0.6223 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.712e-05/0.004685, allocations: 105.3 kB / 0.6224 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.004686, allocations: 4 kB / 0.6224 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-06/0.004695, allocations: 0 / 0.6224 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.004697, allocations: 0 / 0.6224 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.004702, allocations: 3.938 kB / 0.6224 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004703, allocations: 0 / 0.6224 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.004704, allocations: 4 kB / 0.6224 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.77e-05/0.004752, allocations: 65.06 kB / 0.6225 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-06/0.00476, allocations: 3.953 kB / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.926e-06/0.004769, allocations: 0 / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-06/0.004775, allocations: 4 kB / 0.6225 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.004788, allocations: 11.95 kB / 0.6225 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.00479, allocations: 0 / 0.6225 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.004831, allocations: 91.28 kB / 0.6226 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004831, allocations: 0 / 0.6226 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001273/0.004959, allocations: 7.938 kB / 0.6226 GB, free: 9.566 MB / 0.5886 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.0001763/0.005135, allocations: 121.2 kB / 0.6227 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.644e-05/0.005201, allocations: 8 kB / 0.6227 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005203, allocations: 0 / 0.6227 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.005209, allocations: 11.94 kB / 0.6227 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001064/0.005315, allocations: 1.875 kB / 0.6227 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.005559, allocations: 134.6 kB / 0.6229 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.005601, allocations: 63.34 kB / 0.6229 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.005622, allocations: 12.5 kB / 0.6229 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.005623, allocations: 0 / 0.6229 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of Templates: time 0.001712/0.007335, allocations: 0.7897 MB / 0.6237 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.945332374423742] Failed to read output from testmodel.py, exit status != 0: 0.013257819227874279 0.02151606 0.016677434 Calling exit ...