Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001296/0.001296, allocations: 112.1 kB / 17.6 MB, free: 4.668 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.001233/0.001233, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.477/1.477, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.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.084/1.084, allocations: 175.7 MB / 480.2 MB, free: 2.785 MB / 366.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.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 64.41 kB / 0.6679 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2006, allocations: 94.52 MB / 0.7602 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003462/0.2041, allocations: 1.373 MB / 0.7615 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001989/0.2043, allocations: 39.83 kB / 0.7616 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.2043, allocations: 7.938 kB / 0.7616 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2045, allocations: 19.91 kB / 0.7616 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.2047, allocations: 7.938 kB / 0.7616 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.187e-06/0.2047, allocations: 4 kB / 0.7616 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.962e-05/0.2048, allocations: 19.92 kB / 0.7616 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.2049, allocations: 3.938 kB / 0.7616 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.2049, allocations: 11.92 kB / 0.7616 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.205, allocations: 7.938 kB / 0.7616 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.205, allocations: 3.984 kB / 0.7616 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.776e-05/0.2051, allocations: 12 kB / 0.7616 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.2051, allocations: 4 kB / 0.7617 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.2052, allocations: 15.92 kB / 0.7617 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2053, allocations: 27.91 kB / 0.7617 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.2053, allocations: 4 kB / 0.7617 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2053, allocations: 0 / 0.7617 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2053, allocations: 0 / 0.7617 GB, free: 15.24 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005214/0.2059, allocations: 339.3 kB / 0.762 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.2059, allocations: 8.031 kB / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.206, allocations: 30.75 kB / 0.7621 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.206, allocations: 4.891 kB / 0.7621 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.2062, allocations: 188.3 kB / 0.7622 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2063, allocations: 384 / 0.7622 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.2063, allocations: 384 / 0.7622 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.2064, allocations: 34.2 kB / 0.7623 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2064, allocations: 3.938 kB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.2064, allocations: 0 / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.2064, allocations: 0 / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.589e-05/0.2064, allocations: 4 kB / 0.7623 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.2067, allocations: 157.7 kB / 0.7624 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.2067, allocations: 22.5 kB / 0.7625 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.2067, allocations: 12.92 kB / 0.7625 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2068, allocations: 0 / 0.7625 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.2068, allocations: 30.56 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 4.899e-06/0.2068, allocations: 3.984 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.207, allocations: 37.64 kB / 0.7625 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.207, allocations: 55.53 kB / 0.7626 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2072, allocations: 121.8 kB / 0.7627 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.2072, allocations: 25.7 kB / 0.7627 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.2073, allocations: 92.12 kB / 0.7628 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.2073, allocations: 3.953 kB / 0.7628 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.2073, allocations: 9.719 kB / 0.7628 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2075, allocations: 318.8 kB / 0.7631 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.2075, allocations: 3.938 kB / 0.7631 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.2075, allocations: 8 kB / 0.7631 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.2075, allocations: 12.84 kB / 0.7632 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2076, allocations: 4 kB / 0.7632 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.94e-05/0.2076, allocations: 33.7 kB / 0.7632 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.2076, allocations: 11.94 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2077, allocations: 0 / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2077, allocations: 3.938 kB / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.2077, allocations: 0 / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.2077, allocations: 96 / 0.7632 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.2078, allocations: 11.98 kB / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2078, allocations: 0 / 0.7632 GB, free: 13.45 MB / 0.5762 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 0.0001039/0.2079, allocations: 105.8 kB / 0.7633 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2079, allocations: 7.938 kB / 0.7633 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.208, allocations: 41.22 kB / 0.7634 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.208, allocations: 4 kB / 0.7634 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.208, allocations: 0 / 0.7634 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.208, allocations: 3.938 kB / 0.7634 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2082, allocations: 161.7 kB / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2082, allocations: 0 / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.2082, allocations: 0 / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.2082, allocations: 7.938 kB / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2082, allocations: 0 / 0.7635 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.2082, allocations: 3.938 kB / 0.7635 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2083, allocations: 0 / 0.7635 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.2084, allocations: 61.12 kB / 0.7636 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.2084, allocations: 81.14 kB / 0.7637 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2084, allocations: 3.938 kB / 0.7637 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.2084, allocations: 0 / 0.7637 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.2084, allocations: 7.984 kB / 0.7637 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2084, allocations: 0 / 0.7637 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.2085, allocations: 95.27 kB / 0.7638 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2085, allocations: 0 / 0.7638 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001964/0.2087, allocations: 7.938 kB / 0.7638 GB, free: 12.75 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 (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.0006162/0.2093, allocations: 0.6234 MB / 0.7644 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.2094, allocations: 8 kB / 0.7644 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2094, allocations: 4.094 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.2095, allocations: 4 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2096, allocations: 0 / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2108, allocations: 1.11 MB / 0.7655 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.2112, allocations: 0.6845 MB / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.248e-05/0.2113, allocations: 0 / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.2113, allocations: 19.36 kB / 0.7662 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2113, allocations: 0 / 0.7662 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.2391, allocations: 1.385 MB / 0.7675 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.433, allocations: 5.578 kB / 0.7675 GB, free: 8.867 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.278564814972924] Failed to read output from testmodel.py, exit status != 0: 8.503254216979258 8.530414495 8.319620187 Calling exit ...