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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.091/1.091, allocations: 175.7 MB / 480.8 MB, free: 7.84 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002076/0.002076, allocations: 64.23 kB / 0.6688 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2229, allocations: 94.53 MB / 0.7611 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.4091/0.632, allocations: 1.492 MB / 0.7625 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.6336, allocations: 1.183 MB / 0.7637 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.6337, allocations: 1.688 kB / 0.7637 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.6339, allocations: 18.03 kB / 0.7637 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.6342, allocations: 40.69 kB / 0.7637 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.6344, allocations: 65.12 kB / 0.7638 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.6346, allocations: 147.7 kB / 0.7639 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.6348, allocations: 43.06 kB / 0.764 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.6349, allocations: 78.41 kB / 0.7641 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.6351, allocations: 60.73 kB / 0.7641 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.6351, allocations: 11.28 kB / 0.7641 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-05/0.6352, allocations: 29.41 kB / 0.7642 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.6354, allocations: 49.75 kB / 0.7642 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.6355, allocations: 80.05 kB / 0.7643 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.6358, allocations: 192.5 kB / 0.7645 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6358, allocations: 2 kB / 0.7645 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6358, allocations: 0 / 0.7645 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.6358, allocations: 1.906 kB / 0.7645 GB, free: 7.836 MB / 0.5762 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.0007028/0.6366, allocations: 0.4946 MB / 0.765 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6366, allocations: 11.16 kB / 0.765 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.6367, allocations: 43.52 kB / 0.765 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.6367, allocations: 21.16 kB / 0.765 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.637, allocations: 255.6 kB / 0.7653 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.6371, allocations: 122.4 kB / 0.7654 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.6371, allocations: 3.688 kB / 0.7654 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.6375, allocations: 158.4 kB / 0.7655 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6375, allocations: 0 / 0.7655 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.6375, allocations: 6.656 kB / 0.7655 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.6376, allocations: 8.234 kB / 0.7656 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.6377, allocations: 43.33 kB / 0.7656 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.6387, allocations: 463.9 kB / 0.766 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.6388, allocations: 42.53 kB / 0.7661 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.6389, allocations: 25.61 kB / 0.7661 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.6389, allocations: 4.141 kB / 0.7661 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.6389, allocations: 32.91 kB / 0.7661 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.6389, allocations: 0 / 0.7661 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0002987/0.6392, allocations: 107.4 kB / 0.7662 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6392, allocations: 56.5 kB / 0.7663 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.6395, allocations: 225.8 kB / 0.7665 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6395, allocations: 26.83 kB / 0.7665 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.6395, allocations: 126.2 kB / 0.7667 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.6396, allocations: 25.88 kB / 0.7667 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.6396, allocations: 26.56 kB / 0.7667 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.6397, allocations: 327.8 kB / 0.767 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/0.6397, allocations: 28.3 kB / 0.767 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.6398, allocations: 104.6 kB / 0.7671 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.6399, allocations: 144.8 kB / 0.7673 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6399, allocations: 0.75 kB / 0.7673 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002255/0.6402, allocations: 149.9 kB / 0.7674 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6402, allocations: 6.812 kB / 0.7674 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6402, allocations: 4.688 kB / 0.7674 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6402, allocations: 8.578 kB / 0.7674 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6403, allocations: 22.45 kB / 0.7675 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6403, allocations: 11.69 kB / 0.7675 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.6404, allocations: 12.86 kB / 0.7675 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.6404, allocations: 10.52 kB / 0.7675 GB, free: 5.355 MB / 0.5762 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.755e-05/0.6405, allocations: 138.6 kB / 0.7676 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.6406, allocations: 15.69 kB / 0.7676 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.6408, allocations: 117.7 kB / 0.7678 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.6408, allocations: 5.312 kB / 0.7678 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6408, allocations: 8.5 kB / 0.7678 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6408, allocations: 2.422 kB / 0.7678 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.641, allocations: 236.6 kB / 0.768 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.641, allocations: 0 / 0.768 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.6411, allocations: 15.14 kB / 0.768 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6411, allocations: 2 kB / 0.768 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.6411, allocations: 1.844 kB / 0.768 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6411, allocations: 0.625 kB / 0.768 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6411, allocations: 4.969 kB / 0.768 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.6413, allocations: 192.7 kB / 0.7682 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.6413, allocations: 89.2 kB / 0.7683 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.6413, allocations: 1.562 kB / 0.7683 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.6416, allocations: 18.58 kB / 0.7683 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.6416, allocations: 16.05 kB / 0.7683 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.6416, allocations: 11.86 kB / 0.7683 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000138/0.6418, allocations: 160 kB / 0.7685 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.6418, allocations: 4 kB / 0.7685 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003161/0.6421, allocations: 28.09 kB / 0.7685 GB, free: 4.547 MB / 0.5762 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.0004993/0.6426, allocations: 0.7517 MB / 0.7693 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.6428, allocations: 73.2 kB / 0.7693 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6428, allocations: 3.938 kB / 0.7693 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.302e-05/0.6428, allocations: 23.5 kB / 0.7694 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.6432, allocations: 23.55 kB / 0.7694 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.6451, allocations: 1.941 MB / 0.7713 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.6456, allocations: 0.7285 MB / 0.772 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.6457, allocations: 52.22 kB / 0.772 GB, free: 17.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.6458, allocations: 46.86 kB / 0.7721 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6458, allocations: 4 kB / 0.7721 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.6773, allocations: 4.223 MB / 0.7762 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/9.018, allocations: 5.562 kB / 0.7762 GB, free: 16.93 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.948261226993054] Failed to read output from testmodel.py, exit status != 0: 9.088387767085806 9.103233232 8.464110742999999 Calling exit ...