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.001327/0.001327, 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.0009772/0.0009772, 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.9517/0.9517, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7179/0.7179, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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.001014/0.001014, allocations: 67.91 kB / 0.6195 GB, free: 13.1 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.5133/0.5143, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001995/0.5163, allocations: 1.362 MB / 0.7204 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.5164, allocations: 29.25 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.5165, allocations: 5.125 kB / 0.7205 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.5166, allocations: 18.39 kB / 0.7205 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.5168, allocations: 9.453 kB / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.5168, allocations: 0 / 0.7205 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.5168, allocations: 20.89 kB / 0.7205 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.5169, allocations: 11.05 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.5169, allocations: 5.906 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.517, allocations: 14.28 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.517, allocations: 0 / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.5171, allocations: 11.89 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.5171, allocations: 5.969 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.5171, allocations: 10.95 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.5172, allocations: 29.48 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5172, allocations: 0 / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5172, allocations: 1.125 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5172, allocations: 0.6562 kB / 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.0002602/0.5175, allocations: 258.3 kB / 0.7208 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5175, allocations: 9.469 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.5176, allocations: 7.312 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.5177, allocations: 117.8 kB / 0.721 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.5177, allocations: 384 / 0.721 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.5177, allocations: 6.406 kB / 0.721 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.189e-05/0.5178, allocations: 29.86 kB / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5178, allocations: 192 / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5178, allocations: 5.094 kB / 0.721 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.5178, allocations: 5.562 kB / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.5178, allocations: 5.938 kB / 0.721 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.219e-05/0.5179, allocations: 104.7 kB / 0.7211 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.518, allocations: 16.73 kB / 0.7211 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.518, allocations: 11.53 kB / 0.7212 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.518, allocations: 0.6094 kB / 0.7212 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.518, allocations: 36.62 kB / 0.7212 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.518, allocations: 0 / 0.7212 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001299/0.5181, allocations: 42.22 kB / 0.7212 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.5182, allocations: 53.31 kB / 0.7213 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.5182, allocations: 118.3 kB / 0.7214 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.5182, allocations: 26.7 kB / 0.7214 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/0.5183, allocations: 81.88 kB / 0.7215 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.5183, allocations: 13.72 kB / 0.7215 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.5183, allocations: 12.48 kB / 0.7215 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.887e-05/0.5183, allocations: 313 kB / 0.7218 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.608e-06/0.5183, allocations: 5.938 kB / 0.7218 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.5184, allocations: 2.188 kB / 0.7218 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.179e-05/0.5184, allocations: 13.62 kB / 0.7218 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.5184, allocations: 0 / 0.7218 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.624e-05/0.5184, allocations: 39.42 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5184, allocations: 8.75 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5184, allocations: 0.5156 kB / 0.7219 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5184, allocations: 5.156 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.01e-05/0.5185, allocations: 1.719 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5185, allocations: 5.562 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.5185, allocations: 0.75 kB / 0.7219 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.5185, allocations: 5.25 kB / 0.7219 GB, free: 21.2 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.758e-05/0.5186, allocations: 108.7 kB / 0.722 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.5186, allocations: 6.859 kB / 0.722 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.011e-05/0.5186, allocations: 50.59 kB / 0.7221 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5186, allocations: 3.938 kB / 0.7221 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5186, allocations: 1.938 kB / 0.7221 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5186, allocations: 0 / 0.7221 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.592e-05/0.5187, allocations: 108.4 kB / 0.7222 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5187, allocations: 4.031 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-06/0.5187, allocations: 2.875 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.5187, allocations: 0 / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.5187, allocations: 1.609 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.5187, allocations: 0 / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5187, allocations: 4.594 kB / 0.7222 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.116e-05/0.5187, allocations: 61.02 kB / 0.7222 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.5188, allocations: 5.672 kB / 0.7222 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.5188, allocations: 1.672 kB / 0.7222 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.949e-06/0.5188, allocations: 0 / 0.7222 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.77e-05/0.5188, allocations: 9.688 kB / 0.7223 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.5188, allocations: 1.062 kB / 0.7223 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.5188, allocations: 95.16 kB / 0.7224 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5188, allocations: 0 / 0.7224 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000132/0.519, allocations: 7.297 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.0001587/0.5191, allocations: 105.8 kB / 0.7225 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.684e-05/0.5192, allocations: 9.328 kB / 0.7225 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.5192, allocations: 0 / 0.7225 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.5192, allocations: 7.109 kB / 0.7225 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.5193, allocations: 6.688 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.0002336/0.5195, allocations: 114.4 kB / 0.7226 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.5196, allocations: 60.22 kB / 0.7226 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.131e-05/0.5196, allocations: 9.219 kB / 0.7227 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.5196, allocations: 10.5 kB / 0.7227 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5196, allocations: 128 / 0.7227 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.002107/0.5218, allocations: 490.6 kB / 0.7231 GB, free: 20.34 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.397666645934805] Failed to read output from testmodel.py, exit status != 0: 0.5279442419996485 0.537204148 0.017980423000000002 Calling exit ...