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.001413/0.001413, allocations: 81.34 kB / 19.18 MB, free: 2.508 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.00158/0.00158, allocations: 166.5 kB / 22.46 MB, free: 5.379 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.456/1.456, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.211/1.211, allocations: 154.7 MB / 413.9 MB, free: 5.148 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.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.392e-06/1.392e-06, allocations: 0 / 0.6187 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.706e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00276/0.002787, allocations: 1.392 MB / 0.6201 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.002961, allocations: 35.83 kB / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.003008, allocations: 3.938 kB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.003175, allocations: 11.94 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003295, allocations: 27.78 kB / 0.6202 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.003299, allocations: 0 / 0.6202 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.00337, allocations: 15.92 kB / 0.6202 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.003415, allocations: 4 kB / 0.6202 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.003464, allocations: 4 kB / 0.6202 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.00352, allocations: 11.98 kB / 0.6202 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.003537, allocations: 3.938 kB / 0.6202 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.529e-05/0.003582, allocations: 12 kB / 0.6202 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.003623, allocations: 0 / 0.6202 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.00365, allocations: 8 kB / 0.6202 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003776, allocations: 35.83 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003779, allocations: 0 / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00378, allocations: 0 / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.003785, allocations: 0 / 0.6202 GB, free: 2.941 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.0003568/0.004142, allocations: 258.2 kB / 0.6205 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.004177, allocations: 8.031 kB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.004209, allocations: 4.938 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.004383, allocations: 121.7 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004394, allocations: 4.375 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.004401, allocations: 384 / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.004489, allocations: 42.17 kB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.004499, allocations: 192 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.004507, allocations: 384 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.004532, allocations: 4.375 kB / 0.6207 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.004555, allocations: 3.938 kB / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.004699, allocations: 105.3 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.004754, allocations: 22.61 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.004773, allocations: 4.859 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.004792, allocations: 12 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.004821, allocations: 30.56 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.004822, allocations: 0 / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.004953, allocations: 37.7 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.004999, allocations: 59.33 kB / 0.6209 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.005116, allocations: 117.8 kB / 0.621 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.005131, allocations: 25.7 kB / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.005185, allocations: 88.14 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.005205, allocations: 3.953 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.005234, allocations: 13.72 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.005387, allocations: 315 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.005404, allocations: 11.88 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.005415, allocations: 7.984 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.005443, allocations: 8.859 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005444, allocations: 0 / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.253e-05/0.005507, allocations: 37.7 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.005522, allocations: 4 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005526, allocations: 0 / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.005539, allocations: 0 / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.005592, allocations: 12.08 kB / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.005597, allocations: 0 / 0.6216 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.005616, allocations: 3.938 kB / 0.6216 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.005621, allocations: 0 / 0.6216 GB, free: 1.426 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 8.138e-05/0.005702, allocations: 114.8 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.005714, allocations: 3.953 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.005807, allocations: 45.16 kB / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005808, allocations: 0 / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.005812, allocations: 0 / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.005819, allocations: 7.938 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.005912, allocations: 109.3 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005913, allocations: 0 / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.005929, allocations: 7.984 kB / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.005931, allocations: 0 / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005937, allocations: 0 / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.005938, allocations: 0 / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005939, allocations: 0 / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.637e-05/0.006026, allocations: 69 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.006037, allocations: 7.953 kB / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.006048, allocations: 0 / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.006057, allocations: 32 / 0.6219 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.006071, allocations: 11.94 kB / 0.6219 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006074, allocations: 0 / 0.6219 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.314e-05/0.006147, allocations: 91.27 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.006147, allocations: 0 / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001895/0.006337, allocations: 7.938 kB / 0.622 GB, free: 0.8906 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.0002133/0.00655, allocations: 111.1 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.294e-05/0.006633, allocations: 19.98 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.006636, allocations: 0 / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.006646, allocations: 3.938 kB / 0.6221 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.006788, allocations: 4 kB / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.007112, allocations: 108.8 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.007179, allocations: 63.34 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.007261, allocations: 4 kB / 0.6223 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.007296, allocations: 12.5 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.007296, allocations: 4.125 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of Templates: time 0.003038/0.01033, allocations: 0.5036 MB / 0.6228 GB, free: 20 kB / 0.5294 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: 5.8613816648721695] Failed to read output from testmodel.py, exit status != 0: 0.01874980330467224 0.033558273 0.026709337000000003 Calling exit ...