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.001099/0.001099, 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.000902/0.000902, 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 0.9731/0.9731, 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.8163/0.8163, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009427/0.0009427, allocations: 66.28 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5375, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.002166/0.5396, allocations: 1.385 MB / 0.8192 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.5398, allocations: 42.05 kB / 0.8192 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.5398, allocations: 0 / 0.8192 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.54, allocations: 16.7 kB / 0.8193 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.5401, allocations: 15.69 kB / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.5401, allocations: 0 / 0.8193 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.5402, allocations: 15.34 kB / 0.8193 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.5402, allocations: 0 / 0.8193 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.5403, allocations: 13.14 kB / 0.8193 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.5403, allocations: 14.14 kB / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.5403, allocations: 0 / 0.8193 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.5404, allocations: 12.69 kB / 0.8193 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.5404, allocations: 4.844 kB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.5405, allocations: 5.938 kB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.5406, allocations: 23.91 kB / 0.8194 GB, free: 216 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5406, allocations: 8 kB / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5406, allocations: 0 / 0.8194 GB, free: 208 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.5406, 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.0003009/0.5409, allocations: 256.5 kB / 0.8196 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5409, allocations: 10.56 kB / 0.8196 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.541, allocations: 31.45 kB / 0.8196 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.541, allocations: 4.875 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.5412, allocations: 122.8 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5412, allocations: 1.547 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.5412, allocations: 2.031 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.456e-05/0.5413, allocations: 36.58 kB / 0.8198 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5413, allocations: 3.938 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.5413, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.5413, allocations: 6.172 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.5413, allocations: 8.828 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.5416, allocations: 205.6 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.5416, allocations: 25.2 kB / 0.82 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.5416, allocations: 8.438 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.5416, allocations: 0 / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.5417, allocations: 39.48 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.5417, allocations: 6.125 kB / 0.8201 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.5418, allocations: 32.98 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.5418, allocations: 52.25 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.576e-05/0.5419, allocations: 122.7 kB / 0.8203 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.5419, allocations: 25.7 kB / 0.8203 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.5419, allocations: 85.5 kB / 0.8204 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.542, allocations: 4.984 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.542, allocations: 9.719 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.5421, allocations: 316.3 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.5421, allocations: 0 / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-06/0.5421, allocations: 4.734 kB / 0.8207 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.5421, allocations: 18.38 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5421, allocations: 3.938 kB / 0.8207 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.117e-05/0.5422, allocations: 42.3 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5422, allocations: 9.281 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5422, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5422, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.5423, allocations: 3.156 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.5423, allocations: 0.7969 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.5423, allocations: 0 / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.5423, allocations: 3.969 kB / 0.8208 GB, free: 14.67 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 6.16e-05/0.5424, allocations: 116.9 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.5424, allocations: 3.531 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9e-05/0.5425, allocations: 49.64 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5425, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5425, allocations: 1.406 kB / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5425, allocations: 0 / 0.821 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5426, allocations: 134.6 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5426, allocations: 0.6094 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.5426, allocations: 5.5 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5426, allocations: 2.453 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.5426, allocations: 0 / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.5426, allocations: 0 / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5426, allocations: 3.938 kB / 0.8211 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.5427, allocations: 146.4 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.5427, allocations: 0.6094 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.5427, allocations: 0.5625 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.5427, allocations: 7.844 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.5427, allocations: 0.75 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.5427, allocations: 0 / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.5428, allocations: 89.45 kB / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5428, allocations: 0 / 0.8213 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001467/0.5429, allocations: 10.98 kB / 0.8213 GB, free: 14.09 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.0003879/0.5433, allocations: 0.682 MB / 0.822 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.642e-05/0.5434, allocations: 4.781 kB / 0.822 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5434, allocations: 1.219 kB / 0.822 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.5434, allocations: 2.922 kB / 0.822 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.5435, allocations: 5.781 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.0007824/0.5443, allocations: 1.191 MB / 0.8232 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.5445, allocations: 0.6781 MB / 0.8239 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.312e-05/0.5446, allocations: 5.484 kB / 0.8239 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.5446, allocations: 9.312 kB / 0.8239 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.5446, allocations: 0 / 0.8239 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.5614, allocations: 1.513 MB / 0.8253 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/7.182, allocations: 6.125 kB / 0.8254 GB, free: 11.06 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 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.286342915846035] Failed to read output from testmodel.py, exit status != 0: 7.261475417995825 7.277286083 6.734392107 Calling exit ...