Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001097/0.001097, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008733/0.0008733, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9593/0.9593, allocations: 230.6 MB / 256 MB, free: 9.812 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.811/0.811, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [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.000976/0.000976, allocations: 65.41 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4933, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001989/0.4953, allocations: 1.371 MB / 0.8192 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001336/0.4954, allocations: 41.86 kB / 0.8192 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.4954, allocations: 4 kB / 0.8192 GB, free: 284 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.4956, allocations: 20.41 kB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.4957, allocations: 11.05 kB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.4957, allocations: 0 / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.4958, allocations: 15.45 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.4958, allocations: 2.875 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.4959, allocations: 11.45 kB / 0.8193 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.422e-05/0.4959, allocations: 13.95 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.496, allocations: 0 / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.427e-05/0.496, allocations: 9.312 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.496, allocations: 0.6562 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.4961, allocations: 14.77 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.4962, allocations: 22.2 kB / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4962, allocations: 0 / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4962, allocations: 0 / 0.8194 GB, free: 220 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4962, allocations: 0 / 0.8194 GB, free: 220 kB / 0.6042 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.0002961/0.4965, allocations: 262.7 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4965, allocations: 8.125 kB / 0.8196 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.4966, allocations: 33.86 kB / 0.8196 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.4966, allocations: 4.875 kB / 0.8197 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4968, allocations: 132.8 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.4968, allocations: 384 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.4968, allocations: 384 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.984e-05/0.4969, allocations: 34.83 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4969, allocations: 3.938 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4969, allocations: 4.688 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.4969, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.4969, allocations: 4.562 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.4972, allocations: 217.2 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.4972, allocations: 23.97 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.4972, allocations: 5.656 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4973, allocations: 0 / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.4973, allocations: 34.78 kB / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4973, allocations: 0 / 0.8201 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.4974, allocations: 41.86 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4974, allocations: 55.53 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.4975, allocations: 113.8 kB / 0.8203 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.4975, allocations: 25.7 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.4976, allocations: 89 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.4976, allocations: 0 / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.4976, allocations: 13.55 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.4977, allocations: 316.2 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.4977, allocations: 0.6094 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.4977, allocations: 11.03 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.015e-05/0.4977, allocations: 8.594 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4977, allocations: 4.844 kB / 0.8207 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.198e-05/0.4978, allocations: 47.77 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.4978, allocations: 3.547 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4978, allocations: 1.688 kB / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4978, allocations: 0 / 0.8208 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.165e-05/0.4979, allocations: 6.875 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4979, allocations: 4.891 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.4979, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.4979, allocations: 7.438 kB / 0.8208 GB, free: 14.66 MB / 0.6198 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 6e-05/0.4979, allocations: 110.5 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.498, allocations: 4.062 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.498, allocations: 44.55 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.498, allocations: 5.688 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4981, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4981, allocations: 32 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.4982, allocations: 135.5 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4982, allocations: 0 / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.4982, allocations: 2.031 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4982, allocations: 0.5625 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.4982, allocations: 3.984 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4982, allocations: 6.562 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4982, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.93e-05/0.4983, allocations: 140.1 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.4983, allocations: 3.156 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.4983, allocations: 4.656 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.406e-05/0.4983, allocations: 0 / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.4983, allocations: 0.7969 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.4983, allocations: 2.312 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.4984, allocations: 88.48 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4984, allocations: 2.312 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00015/0.4985, allocations: 8.062 kB / 0.8214 GB, free: 14.1 MB / 0.6198 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.0004129/0.4989, allocations: 0.6817 MB / 0.822 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.438e-05/0.499, allocations: 7.484 kB / 0.822 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.499, allocations: 4.094 kB / 0.822 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.499, allocations: 9.453 kB / 0.822 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.4992, allocations: 2.531 kB / 0.822 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007536/0.4999, allocations: 1.181 MB / 0.8232 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.5001, allocations: 0.6797 MB / 0.8239 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.135e-05/0.5002, allocations: 5.141 kB / 0.8239 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.5002, allocations: 12.67 kB / 0.8239 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5002, allocations: 0 / 0.8239 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.5171, allocations: 1.509 MB / 0.8253 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/7.175, allocations: 2.406 kB / 0.8253 GB, free: 11.07 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.119254436111078] Failed to read output from testmodel.py, exit status != 0: 7.25509844510816 7.266685264 6.768402385 Calling exit ...