Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007156/0.0007156, allocations: 114.4 kB / 19.7 MB, free: 0.5273 MB / 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.00076/0.00076, allocations: 208 kB / 23 MB, free: 3.129 MB / 13.93 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.8348/0.8348, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7288/0.7288, allocations: 203.8 MB / 0.5049 GB, free: 0.6562 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008787/0.0008787, allocations: 71.84 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4, allocations: 102 MB / 0.8191 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002082/0.4021, allocations: 1.387 MB / 0.8204 GB, free: 24.31 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001318/0.4022, allocations: 43.28 kB / 0.8205 GB, free: 24.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.4022, allocations: 0.9375 kB / 0.8205 GB, free: 24.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.4024, allocations: 17 kB / 0.8205 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4025, allocations: 9.188 kB / 0.8205 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.609e-06/0.4025, allocations: 0.875 kB / 0.8205 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.4026, allocations: 21.95 kB / 0.8205 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.4026, allocations: 6.75 kB / 0.8205 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.4027, allocations: 8.391 kB / 0.8205 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.4027, allocations: 12.16 kB / 0.8205 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.4027, allocations: 1.375 kB / 0.8205 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.4028, allocations: 12.7 kB / 0.8206 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.4028, allocations: 2.531 kB / 0.8206 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.4028, allocations: 9.5 kB / 0.8206 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.4029, allocations: 32.91 kB / 0.8206 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.403, allocations: 1.641 kB / 0.8206 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.403, allocations: 3.938 kB / 0.8206 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.403, allocations: 1.594 kB / 0.8206 GB, free: 24.21 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.0002517/0.4032, allocations: 265.9 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4032, allocations: 10.78 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.4033, allocations: 2.688 kB / 0.8209 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4034, allocations: 119.2 kB / 0.821 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.4034, allocations: 1.578 kB / 0.821 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.4034, allocations: 2.625 kB / 0.821 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/0.4035, allocations: 35.2 kB / 0.821 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4035, allocations: 192 / 0.821 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.4035, allocations: 8.516 kB / 0.821 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.4035, allocations: 3.422 kB / 0.821 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.4035, allocations: 2.719 kB / 0.821 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.814e-05/0.4036, allocations: 129.6 kB / 0.8212 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.165e-05/0.4037, allocations: 16.83 kB / 0.8212 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.4037, allocations: 12.94 kB / 0.8212 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4037, allocations: 1.625 kB / 0.8212 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.4037, allocations: 32 kB / 0.8212 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.4037, allocations: 0.6875 kB / 0.8212 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001078/0.4038, allocations: 44.12 kB / 0.8213 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.4038, allocations: 56.88 kB / 0.8213 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.4039, allocations: 111.5 kB / 0.8214 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-06/0.4039, allocations: 25.7 kB / 0.8214 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/0.4039, allocations: 86.98 kB / 0.8215 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.404, allocations: 9.859 kB / 0.8215 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.404, allocations: 12.38 kB / 0.8216 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.404, allocations: 321.6 kB / 0.8219 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-06/0.404, allocations: 1.938 kB / 0.8219 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-06/0.404, allocations: 2.234 kB / 0.8219 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.404, allocations: 13.31 kB / 0.8219 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.404, allocations: 1.125 kB / 0.8219 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.844e-05/0.4041, allocations: 37.84 kB / 0.8219 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4041, allocations: 5.031 kB / 0.8219 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4041, allocations: 6.094 kB / 0.8219 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4041, allocations: 1.75 kB / 0.8219 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.4042, allocations: 1.75 kB / 0.8219 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4042, allocations: 4.688 kB / 0.8219 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-06/0.4042, allocations: 4.219 kB / 0.8219 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.4042, allocations: 8.891 kB / 0.8219 GB, free: 22.8 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 3.974e-05/0.4042, allocations: 118.1 kB / 0.8221 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-06/0.4042, allocations: 5.422 kB / 0.8221 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.733e-05/0.4043, allocations: 47.81 kB / 0.8221 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4043, allocations: 0 / 0.8221 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4043, allocations: 4.5 kB / 0.8221 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4043, allocations: 3.094 kB / 0.8221 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.916e-05/0.4044, allocations: 126.8 kB / 0.8222 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4044, allocations: 0.6875 kB / 0.8222 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.689e-06/0.4044, allocations: 2 kB / 0.8222 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4044, allocations: 0.6562 kB / 0.8222 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.4044, allocations: 4.656 kB / 0.8222 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4044, allocations: 1.375 kB / 0.8222 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4044, allocations: 4.516 kB / 0.8222 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.276e-05/0.4044, allocations: 59.61 kB / 0.8223 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.4044, allocations: 5.734 kB / 0.8223 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.4044, allocations: 9.703 kB / 0.8223 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-06/0.4044, allocations: 0.875 kB / 0.8223 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.4045, allocations: 1.031 kB / 0.8223 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.4045, allocations: 0.9688 kB / 0.8223 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.4045, allocations: 94.64 kB / 0.8224 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4045, allocations: 0 / 0.8224 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000122/0.4046, allocations: 4.234 kB / 0.8224 GB, free: 22.3 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.0001712/0.4048, allocations: 117.7 kB / 0.8225 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.712e-05/0.4049, allocations: 9.828 kB / 0.8225 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.4049, allocations: 4.062 kB / 0.8225 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.4049, allocations: 3.109 kB / 0.8225 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.405, allocations: 4.031 kB / 0.8225 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.4052, allocations: 138.6 kB / 0.8227 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.739e-05/0.4053, allocations: 0.6779 MB / 0.8233 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.887e-05/0.4053, allocations: 17.02 kB / 0.8234 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4053, allocations: 1.344 kB / 0.8234 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.001951/0.4072, allocations: 0.7764 MB / 0.8241 GB, free: 21.25 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.658374189166352] Failed to read output from testmodel.py, exit status != 0: 0.4127772771753371 0.421753545 0.017201088 Calling exit ...