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.0009588/0.0009588, allocations: 76.45 kB / 19.9 MB, free: 12 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.0008794/0.0008794, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.912/0.912, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7216/0.7216, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.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: 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.0009529/0.0009529, allocations: 72.7 kB / 0.6195 GB, free: 13.17 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.5157/0.5167, allocations: 101.9 MB / 0.7191 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002018/0.5187, allocations: 1.376 MB / 0.7204 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.5188, allocations: 28.94 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.5189, allocations: 5.031 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.5191, allocations: 13.94 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.5192, allocations: 11.05 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.048e-06/0.5192, allocations: 0 / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.5193, allocations: 23.42 kB / 0.7205 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.5193, allocations: 14.16 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.5194, allocations: 8.516 kB / 0.7205 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.5194, allocations: 11.86 kB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.5194, allocations: 0 / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.5195, allocations: 8.219 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.5195, allocations: 2.547 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.5196, allocations: 9.906 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.5197, allocations: 26.48 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5197, allocations: 1.25 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5197, allocations: 0 / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5197, allocations: 0 / 0.7206 GB, free: 22.57 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.0002721/0.5199, allocations: 267.2 kB / 0.7208 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.52, allocations: 9.969 kB / 0.7209 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.52, allocations: 2 kB / 0.7209 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.5202, allocations: 114.9 kB / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.5202, allocations: 384 / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.5202, allocations: 1.344 kB / 0.721 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.013e-05/0.5203, allocations: 38.97 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5203, allocations: 4.641 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5203, allocations: 3.938 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.5203, allocations: 1.594 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.5203, allocations: 10.66 kB / 0.721 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.587e-05/0.5204, allocations: 100.5 kB / 0.7211 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.724e-05/0.5204, allocations: 26.03 kB / 0.7211 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.5205, allocations: 6.109 kB / 0.7212 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.5205, allocations: 5.703 kB / 0.7212 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.5205, allocations: 32.58 kB / 0.7212 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.5205, allocations: 0 / 0.7212 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.5206, allocations: 37.38 kB / 0.7212 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.5207, allocations: 53.17 kB / 0.7213 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.5207, allocations: 118.4 kB / 0.7214 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-06/0.5207, allocations: 29.83 kB / 0.7214 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.5208, allocations: 87.39 kB / 0.7215 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.5208, allocations: 8.734 kB / 0.7215 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5208, allocations: 12.03 kB / 0.7215 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.5208, allocations: 315.1 kB / 0.7218 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.5208, allocations: 9.062 kB / 0.7218 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-06/0.5208, allocations: 1.984 kB / 0.7218 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.5209, allocations: 9.078 kB / 0.7218 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5209, allocations: 1.25 kB / 0.7218 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.446e-05/0.5209, allocations: 38.59 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5209, allocations: 4.531 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5209, allocations: 1.094 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5209, allocations: 3.938 kB / 0.7219 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.521, allocations: 6.984 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.521, allocations: 3.938 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.521, allocations: 1.75 kB / 0.7219 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.521, allocations: 0 / 0.7219 GB, free: 21.18 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.084e-05/0.5211, allocations: 117.8 kB / 0.722 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-06/0.5211, allocations: 6.922 kB / 0.722 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.809e-05/0.5211, allocations: 47.12 kB / 0.7221 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5211, allocations: 3.938 kB / 0.7221 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5211, allocations: 0 / 0.7221 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5211, allocations: 1.766 kB / 0.7221 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.229e-05/0.5212, allocations: 103.6 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5212, allocations: 1.219 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-06/0.5212, allocations: 2 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5212, allocations: 1.188 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.5212, allocations: 0 / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5212, allocations: 1.094 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5212, allocations: 8.438 kB / 0.7222 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.78e-05/0.5212, allocations: 67.58 kB / 0.7222 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-06/0.5212, allocations: 3.234 kB / 0.7222 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-06/0.5213, allocations: 0.9375 kB / 0.7222 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-06/0.5213, allocations: 1.094 kB / 0.7223 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.5213, allocations: 3.938 kB / 0.7223 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.5213, allocations: 2.031 kB / 0.7223 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.5213, allocations: 89.97 kB / 0.7223 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5213, allocations: 0.875 kB / 0.7223 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001245/0.5214, allocations: 7.922 kB / 0.7224 GB, free: 20.71 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.0001546/0.5216, allocations: 109.3 kB / 0.7225 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.551e-05/0.5217, allocations: 9.594 kB / 0.7225 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5217, allocations: 1.156 kB / 0.7225 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.5217, allocations: 6.75 kB / 0.7225 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.5218, allocations: 1.094 kB / 0.7225 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.522, allocations: 118.5 kB / 0.7226 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.522, allocations: 65.11 kB / 0.7226 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.5221, allocations: 5.219 kB / 0.7227 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.5221, allocations: 10.17 kB / 0.7227 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.5221, allocations: 1.156 kB / 0.7227 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.002108/0.5242, allocations: 496.5 kB / 0.7231 GB, free: 20.32 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.361265120911412] Failed to read output from testmodel.py, exit status != 0: 0.5303325009299442 0.538705421 0.017253827 Calling exit ...