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.000848/0.000848, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009269/0.0009269, allocations: 216 kB / 22.25 MB, free: 3.594 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.062/1.062, allocations: 230.6 MB / 256 MB, free: 9.598 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.805/0.805, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009798/0.0009798, allocations: 62.81 kB / 0.7181 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.5267, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001968/0.5287, allocations: 1.498 MB / 0.8192 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.5299, allocations: 1.204 MB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.53, allocations: 2.688 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.5302, allocations: 21.67 kB / 0.8204 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.5303, allocations: 43.77 kB / 0.8205 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.5305, allocations: 63.47 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.5307, allocations: 149.2 kB / 0.8207 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.5308, allocations: 40.8 kB / 0.8207 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.239e-05/0.5309, allocations: 84.27 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.531, allocations: 55.69 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.531, allocations: 9.25 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.5311, allocations: 23.08 kB / 0.8209 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.5312, allocations: 52.17 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.5312, allocations: 62.14 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.5315, allocations: 202.7 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5315, allocations: 1.844 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5315, allocations: 0 / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.5315, allocations: 3.938 kB / 0.8212 GB, free: 14.8 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.0005438/0.532, allocations: 429.3 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5321, allocations: 9.906 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.5321, allocations: 40.3 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.5322, allocations: 20.58 kB / 0.8217 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.5324, allocations: 196 kB / 0.8219 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.5325, allocations: 227.5 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.5325, allocations: 7.625 kB / 0.8221 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.5328, allocations: 270.3 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5328, allocations: 0 / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.5328, allocations: 0 / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.5329, allocations: 10.28 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.221e-05/0.5329, allocations: 42.61 kB / 0.8224 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.5336, allocations: 403.5 kB / 0.8228 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.5337, allocations: 36.86 kB / 0.8228 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.5337, allocations: 22.22 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.5337, allocations: 2.188 kB / 0.8228 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5338, allocations: 32.75 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.5338, allocations: 1.094 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002219/0.534, allocations: 111 kB / 0.823 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.534, allocations: 63.58 kB / 0.823 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.5342, allocations: 221.4 kB / 0.8232 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.5342, allocations: 26.73 kB / 0.8233 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.5343, allocations: 121.1 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.5343, allocations: 29.94 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.5343, allocations: 32.62 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.5344, allocations: 321.5 kB / 0.8237 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.5344, allocations: 33.44 kB / 0.8238 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.5345, allocations: 99.41 kB / 0.8239 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5346, allocations: 139 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5346, allocations: 0.9688 kB / 0.824 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001835/0.5348, allocations: 154.9 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5348, allocations: 9.094 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5348, allocations: 11.27 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5349, allocations: 2.75 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.5349, allocations: 26.06 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.535, allocations: 9.5 kB / 0.8242 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.535, allocations: 15.78 kB / 0.8242 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.535, allocations: 6.828 kB / 0.8242 GB, free: 12.27 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.294e-05/0.5351, allocations: 143.8 kB / 0.8244 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.5351, allocations: 18.48 kB / 0.8244 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.5353, allocations: 115.9 kB / 0.8245 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5353, allocations: 0 / 0.8245 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5353, allocations: 6.359 kB / 0.8245 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5353, allocations: 0 / 0.8245 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.5355, allocations: 189 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5355, allocations: 5.438 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.5355, allocations: 21.47 kB / 0.8247 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5355, allocations: 0 / 0.8247 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.5355, allocations: 6.172 kB / 0.8247 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5355, allocations: 1.219 kB / 0.8247 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5355, allocations: 4.641 kB / 0.8247 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.5357, allocations: 182.6 kB / 0.8249 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.5357, allocations: 12.53 kB / 0.8249 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.5357, allocations: 1.734 kB / 0.8249 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.5358, allocations: 21.7 kB / 0.8249 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.5359, allocations: 13.2 kB / 0.8249 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.5359, allocations: 11 kB / 0.825 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001088/0.536, allocations: 164.6 kB / 0.8251 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.536, allocations: 0 / 0.8251 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002143/0.5362, allocations: 40.39 kB / 0.8251 GB, free: 11.57 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.0004446/0.5366, allocations: 0.7507 MB / 0.8259 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.5368, allocations: 69.09 kB / 0.8259 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5368, allocations: 1.375 kB / 0.8259 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.5368, allocations: 25.61 kB / 0.826 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.537, allocations: 29.66 kB / 0.826 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.5386, allocations: 1.919 MB / 0.8279 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.025e-05/0.5387, allocations: 118.4 kB / 0.828 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.879e-05/0.5388, allocations: 54.55 kB / 0.828 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.5388, allocations: 48.19 kB / 0.8281 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5388, allocations: 0 / 0.8281 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.5618, allocations: 4.897 MB / 0.8329 GB, free: 8.027 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.636/7.197, allocations: 6.125 kB / 0.8329 GB, free: 8.027 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.360903205815703] Failed to read output from testmodel.py, exit status != 0: 7.28060456039384 7.293361865 6.759827184 Calling exit ...