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.001082/0.001082, 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.001281/0.001281, allocations: 218.9 kB / 22.25 MB, free: 3.699 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 1.004/1.004, allocations: 230.6 MB / 256 MB, free: 9.816 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.8029/0.8029, allocations: 203.8 MB / 0.5042 GB, free: 10.8 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.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",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.001204/0.001204, allocations: 69.95 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4921, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002199/0.4943, allocations: 1.399 MB / 0.8192 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.4945, allocations: 44.78 kB / 0.8192 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.4945, allocations: 0 / 0.8192 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.4947, allocations: 15.95 kB / 0.8193 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.4949, allocations: 11.66 kB / 0.8193 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.871e-06/0.4949, allocations: 4 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.957e-05/0.495, allocations: 21.17 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.932e-05/0.495, allocations: 4.922 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.4951, allocations: 10.78 kB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.4952, allocations: 12.02 kB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.4952, allocations: 0 / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.4952, allocations: 13.88 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.4953, allocations: 0.7031 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.4953, allocations: 11.14 kB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.4955, allocations: 30.12 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4955, allocations: 0.6094 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4955, allocations: 0 / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.4955, allocations: 0 / 0.8194 GB, free: 208 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.0003317/0.4958, allocations: 266.1 kB / 0.8196 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4959, allocations: 15.05 kB / 0.8196 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.4959, allocations: 30.75 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.4959, allocations: 0.9375 kB / 0.8197 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.4961, allocations: 124.8 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.4961, allocations: 384 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.4961, allocations: 4.359 kB / 0.8198 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.933e-05/0.4962, allocations: 31.23 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4962, allocations: 3.938 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.4962, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.4962, allocations: 4.891 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.4962, allocations: 3.094 kB / 0.8198 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.4963, allocations: 125.5 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.4964, allocations: 23.8 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.4964, allocations: 12.31 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4964, allocations: 3.984 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.4964, allocations: 34.56 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.4964, allocations: 0 / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.4965, allocations: 44.19 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.4966, allocations: 56.33 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.4967, allocations: 116 kB / 0.8202 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.4967, allocations: 29.7 kB / 0.8203 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.4967, allocations: 81.12 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4967, allocations: 4.469 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.4968, allocations: 23.95 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.4968, allocations: 314.8 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.4968, allocations: 0.7031 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.4969, allocations: 2.062 kB / 0.8207 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.4969, allocations: 13.77 kB / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4969, allocations: 0 / 0.8207 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.457e-05/0.4969, allocations: 34.78 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4969, allocations: 13.53 kB / 0.8207 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.497, allocations: 4.891 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.497, allocations: 1.688 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.497, allocations: 4.219 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.497, allocations: 3.938 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/0.497, allocations: 0 / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.497, allocations: 4 kB / 0.8208 GB, free: 14.73 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 5.89e-05/0.4971, allocations: 112.5 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.4971, allocations: 10.95 kB / 0.8209 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.311e-05/0.4972, allocations: 45.39 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4972, allocations: 0.8438 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4972, allocations: 1.594 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4972, allocations: 0 / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.955e-05/0.4973, allocations: 126.3 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4973, allocations: 1.312 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.4973, allocations: 1.281 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4973, allocations: 8.766 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.4973, allocations: 5.375 kB / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4973, allocations: 0 / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4973, allocations: 0 / 0.8211 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.264e-05/0.4974, allocations: 60.39 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.4974, allocations: 6.344 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.4974, allocations: 5.312 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.48e-06/0.4974, allocations: 0 / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.4974, allocations: 4.922 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.4974, allocations: 0 / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.4974, allocations: 91.66 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4974, allocations: 4.031 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001276/0.4976, allocations: 5.328 kB / 0.8212 GB, free: 14.23 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.0003669/0.4979, allocations: 0.6151 MB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.498, allocations: 9.688 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.498, allocations: 0 / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.498, allocations: 3.312 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.4981, allocations: 8.406 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.4989, allocations: 1.115 MB / 0.8229 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.4991, allocations: 0.6767 MB / 0.8236 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.4992, allocations: 7.797 kB / 0.8236 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.4993, allocations: 11.73 kB / 0.8236 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of SimCode: time 3.7e-07/0.4993, allocations: 0 / 0.8236 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.5145, allocations: 1.505 MB / 0.8251 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/7.115, allocations: 5.172 kB / 0.8251 GB, free: 11.34 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.080446108011529] Failed to read output from testmodel.py, exit status != 0: 7.194371454184875 7.204177029 6.706665051 Calling exit ...