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.0008075/0.0008075, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009624/0.0009624, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8906/0.8906, allocations: 177.1 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.7188/0.7188, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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.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: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.29e-05, allocations: 9.031 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.001961/0.001984, allocations: 1.37 MB / 0.6194 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001116/0.002096, allocations: 35.81 kB / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.002134, allocations: 0 / 0.6194 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.002297, allocations: 15.92 kB / 0.6194 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.002406, allocations: 15.86 kB / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.837e-06/0.00241, allocations: 0 / 0.6194 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.002473, allocations: 15.88 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.002513, allocations: 8 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.002556, allocations: 7.984 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.002605, allocations: 11.92 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.002626, allocations: 0 / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.002671, allocations: 15.98 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.002706, allocations: 0 / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.002722, allocations: 4 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.84e-05/0.00281, allocations: 23.86 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002812, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.002813, allocations: 0 / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002817, allocations: 0 / 0.6195 GB, free: 12.21 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002637/0.00308, allocations: 258.3 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.003119, allocations: 9.469 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.003173, allocations: 34.75 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.003199, allocations: 8.891 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.003323, allocations: 117.7 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-06/0.003331, allocations: 384 / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-06/0.003337, allocations: 4.312 kB / 0.6199 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.003424, allocations: 42.25 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.00343, allocations: 192 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003437, allocations: 384 / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.003453, allocations: 4.125 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.00347, allocations: 8 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.00369, allocations: 208 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.003726, allocations: 22.52 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.003739, allocations: 12.8 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.003754, allocations: 0 / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.003774, allocations: 38.44 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.003775, allocations: 4.062 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.00389, allocations: 33.66 kB / 0.6203 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.00392, allocations: 55.34 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.00399, allocations: 126 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.003998, allocations: 25.7 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.004031, allocations: 84.14 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.004041, allocations: 3.953 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.004063, allocations: 13.72 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.004134, allocations: 310.8 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.004143, allocations: 4 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.004149, allocations: 3.984 kB / 0.6209 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.138e-05/0.004171, allocations: 12.86 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004172, allocations: 0 / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.611e-05/0.004209, allocations: 41.7 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.004219, allocations: 7.938 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.004222, allocations: 0 / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.004233, allocations: 0 / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.004277, allocations: 7.984 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.004281, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.004293, allocations: 4 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.004297, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 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.476e-05/0.004352, allocations: 110.8 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.004366, allocations: 7.922 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.00443, allocations: 53.14 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004431, allocations: 0 / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.004434, allocations: 0 / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004436, allocations: 0 / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.483e-05/0.004531, allocations: 128.8 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.004533, allocations: 4 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-06/0.00454, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.004542, allocations: 3.938 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.004546, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.004549, allocations: 8.25 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00455, allocations: 7.969 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.558e-05/0.004605, allocations: 131.5 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-06/0.004612, allocations: 3.938 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.00462, allocations: 0 / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.004642, allocations: 4 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.004651, allocations: 0 / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-06/0.004653, allocations: 0 / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.004689, allocations: 95.25 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004689, allocations: 3.938 kB / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001403/0.004829, allocations: 4 kB / 0.6215 GB, free: 9.906 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 (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.0003357/0.005165, allocations: 0.6901 MB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.993e-05/0.005225, allocations: 11.98 kB / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.005227, allocations: 0 / 0.6222 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.005231, allocations: 4 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.005374, allocations: 4 kB / 0.6222 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.006072, allocations: 1.171 MB / 0.6233 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.777e-05/0.006119, allocations: 63.34 kB / 0.6234 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.416e-05/0.006174, allocations: 3.984 kB / 0.6234 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.006206, allocations: 16.5 kB / 0.6234 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/0.006207, allocations: 0 / 0.6234 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.02122, allocations: 2.04 MB / 0.6254 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.405, allocations: 12.34 kB / 0.6254 GB, free: 5.914 MB / 0.5886 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: 9.999756966717541] Failed to read output from testmodel.py, exit status != 0: 7.48332888353616 7.491738737 7.487028141 Calling exit ...