Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.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.001195/0.001195, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00102/0.00102, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8894/0.8894, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.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.7113/0.7113, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.122e-05, allocations: 5.516 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002115/0.002136, allocations: 1.486 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.003299, allocations: 1.219 MB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.003355, allocations: 0 / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.003545, allocations: 19.84 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.003741, allocations: 47.66 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.003889, allocations: 59.23 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.004052, allocations: 147.5 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.004181, allocations: 45.25 kB / 0.621 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.892e-05/0.00428, allocations: 103.8 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.004381, allocations: 43.88 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.004409, allocations: 12 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.749e-05/0.004467, allocations: 24 kB / 0.6212 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.004531, allocations: 51.81 kB / 0.6212 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.004583, allocations: 51.83 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.004808, allocations: 215.3 kB / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00481, allocations: 0 / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004812, allocations: 0 / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.004816, allocations: 0 / 0.6215 GB, free: 10.23 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005672/0.005383, allocations: 425.3 kB / 0.6219 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.005423, allocations: 13.47 kB / 0.6219 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.005461, allocations: 42.73 kB / 0.6219 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.005513, allocations: 16.84 kB / 0.6219 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.005741, allocations: 205.9 kB / 0.6221 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.005871, allocations: 226.2 kB / 0.6223 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.005882, allocations: 4.375 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.006161, allocations: 260.9 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.006169, allocations: 4.188 kB / 0.6226 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.006189, allocations: 7.938 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.006211, allocations: 8 kB / 0.6226 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.552e-05/0.006277, allocations: 39.97 kB / 0.6227 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.007006, allocations: 407.6 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.376e-05/0.00708, allocations: 30.58 kB / 0.6231 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.007114, allocations: 24.84 kB / 0.6231 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.007138, allocations: 3.938 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.007165, allocations: 42.5 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.295e-06/0.007167, allocations: 3.984 kB / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002303/0.007398, allocations: 109.9 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.007433, allocations: 51.41 kB / 0.6233 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.007656, allocations: 216.8 kB / 0.6235 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.007689, allocations: 33.7 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.007766, allocations: 124.1 kB / 0.6237 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.007785, allocations: 23.81 kB / 0.6237 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.007835, allocations: 33.7 kB / 0.6237 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.007939, allocations: 330.8 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.008003, allocations: 23.98 kB / 0.624 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.008105, allocations: 106.2 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.008237, allocations: 138.2 kB / 0.6243 GB, free: 7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.00824, allocations: 0 / 0.6243 GB, free: 7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001767/0.008416, allocations: 161.5 kB / 0.6244 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.00843, allocations: 4 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.008437, allocations: 4 kB / 0.6244 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.008452, allocations: 7.984 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.008535, allocations: 24 kB / 0.6245 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.008541, allocations: 3.984 kB / 0.6245 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.008585, allocations: 15.83 kB / 0.6245 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.008596, allocations: 11.94 kB / 0.6245 GB, free: 6.766 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 8.875e-05/0.008685, allocations: 141.8 kB / 0.6246 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.008716, allocations: 16 kB / 0.6247 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.008884, allocations: 122.9 kB / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.008887, allocations: 0 / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008891, allocations: 0 / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008894, allocations: 0 / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.009054, allocations: 196.6 kB / 0.625 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.009054, allocations: 0 / 0.625 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.009083, allocations: 12 kB / 0.625 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009085, allocations: 0 / 0.625 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.009093, allocations: 8 kB / 0.625 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.009094, allocations: 0 / 0.625 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.009095, allocations: 0 / 0.625 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.00923, allocations: 191.4 kB / 0.6252 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.009246, allocations: 19.83 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.009259, allocations: 0 / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.009382, allocations: 19.98 kB / 0.6252 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.009396, allocations: 3.984 kB / 0.6252 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.009412, allocations: 15.92 kB / 0.6252 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001005/0.009512, allocations: 165.5 kB / 0.6254 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009512, allocations: 0 / 0.6254 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002136/0.009726, allocations: 35.88 kB / 0.6254 GB, free: 5.762 MB / 0.5886 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 (8): * Single equations (assignments): 8 * 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.0004428/0.01017, allocations: 0.7407 MB / 0.6261 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.01031, allocations: 76.44 kB / 0.6262 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01031, allocations: 0 / 0.6262 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.01034, allocations: 32.05 kB / 0.6262 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01058, allocations: 13.88 kB / 0.6262 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.01211, allocations: 1.908 MB / 0.6281 GB, free: 2.82 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.01219, allocations: 122.2 kB / 0.6282 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.983e-05/0.01228, allocations: 56.81 kB / 0.6283 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.01235, allocations: 48.47 kB / 0.6283 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.01235, allocations: 0 / 0.6283 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/0.03315, allocations: 5.027 MB / 0.6332 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.265/7.298, allocations: 3.625 kB / 0.6332 GB, free: 13.75 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.923691313713789] Failed to read output from testmodel.py, exit status != 0: 7.38342912774533 7.393681263 7.386590111 Calling exit ...