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.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.000972/0.000972, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001068/0.001068, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.048/1.048, allocations: 230.6 MB / 256 MB, free: 9.609 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.8111/0.8111, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.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: 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.0008903/0.0008903, allocations: 63.25 kB / 0.7181 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.519, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.00178/0.5208, allocations: 1.395 MB / 0.8191 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001112/0.5209, allocations: 33.81 kB / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.5209, allocations: 0 / 0.8192 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.5211, allocations: 18.88 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.5212, allocations: 15.03 kB / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.478e-06/0.5212, allocations: 0 / 0.8192 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.459e-05/0.5213, allocations: 20.34 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.5213, allocations: 7.906 kB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.5213, allocations: 8.516 kB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.5214, allocations: 14.19 kB / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.5214, allocations: 0 / 0.8193 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.5214, allocations: 14.75 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.5215, allocations: 0 / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.5215, allocations: 8.875 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.5216, allocations: 30.98 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5216, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5216, allocations: 0 / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.5216, allocations: 0 / 0.8193 GB, free: 15.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002642/0.5219, allocations: 262 kB / 0.8196 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.5219, allocations: 17.19 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.522, allocations: 39.44 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.522, allocations: 2.797 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5221, allocations: 113.8 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.5221, allocations: 3.547 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-06/0.5221, allocations: 384 / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.827e-05/0.5222, allocations: 34.52 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5222, allocations: 3.938 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.5222, allocations: 2.906 kB / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.5222, allocations: 0 / 0.8198 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.5222, allocations: 6.875 kB / 0.8198 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.5224, allocations: 123.3 kB / 0.8199 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.702e-05/0.5224, allocations: 21.95 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.424e-05/0.5224, allocations: 10.05 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5224, allocations: 0.7031 kB / 0.8199 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.5224, allocations: 35.75 kB / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.5224, allocations: 0 / 0.82 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.5226, allocations: 42.86 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.5226, allocations: 55.09 kB / 0.82 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.5227, allocations: 116.7 kB / 0.8202 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.5227, allocations: 29.83 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.5227, allocations: 88.95 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.5227, allocations: 7.938 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/0.5228, allocations: 13.22 kB / 0.8203 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.5228, allocations: 316.1 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.5228, allocations: 3 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-06/0.5228, allocations: 0.9062 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.5229, allocations: 9.672 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5229, allocations: 3.688 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.349e-05/0.5229, allocations: 43.58 kB / 0.8206 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5229, allocations: 10.41 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5229, allocations: 0.5156 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.5229, allocations: 0 / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.523, allocations: 2.766 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.523, allocations: 0 / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-06/0.523, allocations: 9.906 kB / 0.8207 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.523, allocations: 0.6562 kB / 0.8207 GB, free: 14.52 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 4.797e-05/0.5231, allocations: 110.1 kB / 0.8208 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.994e-06/0.5231, allocations: 8.5 kB / 0.8208 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.5231, allocations: 55.48 kB / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5231, allocations: 0 / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5231, allocations: 0 / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5231, allocations: 4.469 kB / 0.8208 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.682e-05/0.5232, allocations: 127.2 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.5232, allocations: 0 / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-06/0.5232, allocations: 2.016 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5232, allocations: 3.938 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.5232, allocations: 4.594 kB / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5232, allocations: 0 / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5232, allocations: 32 / 0.821 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.844e-05/0.5233, allocations: 67.08 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.5233, allocations: 4.172 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.5233, allocations: 3.938 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-06/0.5233, allocations: 0.5625 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.5233, allocations: 0.5625 kB / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-06/0.5233, allocations: 0 / 0.821 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.5234, allocations: 96.45 kB / 0.8211 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5234, allocations: 0 / 0.8211 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001272/0.5235, allocations: 8.562 kB / 0.8211 GB, free: 14.01 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.0002968/0.5238, allocations: 0.6089 MB / 0.8217 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.192e-05/0.5238, allocations: 9 kB / 0.8217 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5238, allocations: 0 / 0.8217 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-06/0.5239, allocations: 4.594 kB / 0.8218 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.524, allocations: 17.97 kB / 0.8218 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.5247, allocations: 1.109 MB / 0.8229 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.5247, allocations: 65.55 kB / 0.8229 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.333e-05/0.5248, allocations: 4.266 kB / 0.8229 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.5248, allocations: 10.12 kB / 0.8229 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5248, allocations: 0 / 0.8229 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.5408, allocations: 1.9 MB / 0.8248 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.691/7.232, allocations: 5.156 kB / 0.8248 GB, free: 11.35 MB / 0.6198 GB " [Timeout remaining time 653] (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: 10.382547962944955] Failed to read output from testmodel.py, exit status != 0: 7.3180111749097705 7.337406217 6.812617178 Calling exit ...