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.0009523/0.0009523, 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.0009322/0.0009322, allocations: 219.6 kB / 22.26 MB, free: 3.691 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.9827/0.9827, allocations: 230.6 MB / 256 MB, free: 9.797 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.8148/0.8148, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.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: 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.0009208/0.0009208, allocations: 62.28 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.5463, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002172/0.5485, allocations: 1.511 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.5497, allocations: 1.242 MB / 0.8205 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.5498, allocations: 3.938 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.55, allocations: 17.7 kB / 0.8206 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.5502, allocations: 44.27 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.5503, allocations: 60.17 kB / 0.8207 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.5505, allocations: 147.1 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.5506, allocations: 42.69 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.5507, allocations: 88.09 kB / 0.8209 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.5508, allocations: 56.34 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.5509, allocations: 9.469 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.258e-05/0.5509, allocations: 25.23 kB / 0.821 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/0.551, allocations: 52.75 kB / 0.8211 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.5511, allocations: 75.97 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.5513, allocations: 199.3 kB / 0.8213 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5513, allocations: 3.656 kB / 0.8213 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5513, allocations: 1.031 kB / 0.8213 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5513, allocations: 4 kB / 0.8213 GB, free: 14.96 MB / 0.6198 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.0005499/0.5519, allocations: 427.6 kB / 0.8217 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5519, allocations: 10.97 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.552, allocations: 38.97 kB / 0.8218 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.552, allocations: 23.05 kB / 0.8218 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.5522, allocations: 195.5 kB / 0.822 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.5524, allocations: 224.7 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5524, allocations: 8.312 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.5526, allocations: 159.7 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5526, allocations: 1.625 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5526, allocations: 0.7031 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.5527, allocations: 9.078 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.01e-05/0.5527, allocations: 43.41 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/0.5534, allocations: 434.2 kB / 0.8228 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.141e-05/0.5535, allocations: 35.55 kB / 0.8229 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.5535, allocations: 21.97 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.5536, allocations: 3.328 kB / 0.8229 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.5536, allocations: 36.97 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.976e-06/0.5536, allocations: 0 / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002189/0.5538, allocations: 111 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.5538, allocations: 56.95 kB / 0.8231 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.554, allocations: 222.8 kB / 0.8233 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.554, allocations: 29.64 kB / 0.8233 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.5541, allocations: 124.1 kB / 0.8235 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.5541, allocations: 29.97 kB / 0.8235 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.5542, allocations: 32.38 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.5543, allocations: 328.4 kB / 0.8238 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.203e-05/0.5543, allocations: 31.12 kB / 0.8239 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.5544, allocations: 90.91 kB / 0.8239 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5545, allocations: 145.8 kB / 0.8241 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5545, allocations: 1.156 kB / 0.8241 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001758/0.5547, allocations: 156 kB / 0.8242 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5547, allocations: 6.438 kB / 0.8242 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5547, allocations: 2.469 kB / 0.8242 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5547, allocations: 8.594 kB / 0.8242 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.5548, allocations: 25.84 kB / 0.8243 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5548, allocations: 12.19 kB / 0.8243 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.5548, allocations: 11 kB / 0.8243 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.5549, allocations: 6.875 kB / 0.8243 GB, free: 12.55 MB / 0.6198 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 9.096e-05/0.5549, allocations: 143.1 kB / 0.8244 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.555, allocations: 23.64 kB / 0.8245 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.5551, allocations: 109.2 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5552, allocations: 2.047 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5552, allocations: 3.938 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5552, allocations: 0.5156 kB / 0.8246 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.5553, allocations: 212.2 kB / 0.8248 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5553, allocations: 0 / 0.8248 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.5554, allocations: 18.27 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5554, allocations: 8.875 kB / 0.8248 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.5554, allocations: 5.703 kB / 0.8248 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5554, allocations: 1.859 kB / 0.8248 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5554, allocations: 3.938 kB / 0.8248 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.5555, allocations: 185.5 kB / 0.825 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.5555, allocations: 12.92 kB / 0.825 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5556, allocations: 4.75 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5557, allocations: 22.69 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.5557, allocations: 8.109 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5557, allocations: 11.52 kB / 0.825 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001113/0.5558, allocations: 164 kB / 0.8252 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5558, allocations: 0 / 0.8252 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002181/0.5561, allocations: 36.69 kB / 0.8252 GB, free: 11.84 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 (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.0004504/0.5565, allocations: 0.7419 MB / 0.826 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.5566, allocations: 69.08 kB / 0.826 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5566, allocations: 5.156 kB / 0.826 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.5567, allocations: 27.28 kB / 0.8261 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.5569, allocations: 26.53 kB / 0.8261 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.5585, allocations: 1.917 MB / 0.828 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.5587, allocations: 0.7344 MB / 0.8287 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.5588, allocations: 50.05 kB / 0.8287 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.5589, allocations: 50.36 kB / 0.8288 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5589, allocations: 0 / 0.8288 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.5796, allocations: 4.372 MB / 0.833 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/7.258, allocations: 5.578 kB / 0.833 GB, free: 8.16 MB / 0.6198 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 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: 10.358962109079584] Failed to read output from testmodel.py, exit status != 0: 7.338611637009308 7.351092967 6.796861537 Calling exit ...