Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001232/0.001232, allocations: 80.45 kB / 19.15 MB, free: 0.7734 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.001622/0.001622, allocations: 162 kB / 22.43 MB, free: 2.145 MB / 18.57 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.8865/0.8865, allocations: 177.2 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7239/0.7239, allocations: 154.7 MB / 413.9 MB, free: 0.7539 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="IDEAS_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.000947/0.000947, allocations: 65.5 kB / 0.6183 GB, free: 13.66 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4704, allocations: 102 MB / 0.7179 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002227/0.4726, allocations: 1.377 MB / 0.7192 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.4727, allocations: 37.66 kB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.4728, allocations: 5 kB / 0.7192 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.4729, allocations: 11.56 kB / 0.7193 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.473, allocations: 21.55 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.4731, allocations: 4 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.4731, allocations: 20.91 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.4732, allocations: 5.922 kB / 0.7193 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.801e-05/0.4732, allocations: 11.08 kB / 0.7193 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.4733, allocations: 12.83 kB / 0.7193 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.4733, allocations: 0.9375 kB / 0.7193 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.4733, allocations: 9.047 kB / 0.7193 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.4734, allocations: 13.97 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.4734, allocations: 2.969 kB / 0.7194 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.4735, allocations: 34.19 kB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4735, allocations: 1.25 kB / 0.7194 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.225e-06/0.4735, allocations: 4 kB / 0.7194 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.4735, allocations: 0.8438 kB / 0.7194 GB, free: 22.23 MB / 0.6355 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.0002584/0.4738, allocations: 262.4 kB / 0.7196 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4738, allocations: 10.09 kB / 0.7197 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.285e-05/0.4738, allocations: 30.75 kB / 0.7197 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.4739, allocations: 3.766 kB / 0.7197 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.474, allocations: 126 kB / 0.7198 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.474, allocations: 4.312 kB / 0.7198 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.474, allocations: 2.016 kB / 0.7198 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.729e-05/0.4741, allocations: 31.7 kB / 0.7198 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.4741, allocations: 7.938 kB / 0.7198 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.4741, allocations: 0 / 0.7198 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.4741, allocations: 1.734 kB / 0.7199 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.825e-05/0.4741, allocations: 3.391 kB / 0.7199 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.22e-05/0.4742, allocations: 123.9 kB / 0.72 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.4743, allocations: 24.61 kB / 0.72 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.4743, allocations: 7.219 kB / 0.72 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.4743, allocations: 2.547 kB / 0.72 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.4743, allocations: 31.22 kB / 0.72 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.4743, allocations: 1.5 kB / 0.72 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.4745, allocations: 42.44 kB / 0.7201 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.4745, allocations: 56.06 kB / 0.7201 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.4746, allocations: 111.4 kB / 0.7202 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.4746, allocations: 29.7 kB / 0.7203 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.4746, allocations: 86.53 kB / 0.7203 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.4746, allocations: 4.984 kB / 0.7204 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.4747, allocations: 16.42 kB / 0.7204 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.441e-05/0.4747, allocations: 314.4 kB / 0.7207 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.4747, allocations: 0.9062 kB / 0.7207 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.4747, allocations: 3.422 kB / 0.7207 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.4747, allocations: 17.64 kB / 0.7207 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4747, allocations: 0 / 0.7207 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.197e-05/0.4748, allocations: 34.92 kB / 0.7207 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4748, allocations: 13.38 kB / 0.7207 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4748, allocations: 4.5 kB / 0.7207 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4748, allocations: 4 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.4749, allocations: 7.266 kB / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4749, allocations: 0 / 0.7207 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.189e-05/0.4749, allocations: 1.219 kB / 0.7208 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.4749, allocations: 4.641 kB / 0.7208 GB, free: 20.77 MB / 0.6355 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.966e-05/0.4749, allocations: 117.3 kB / 0.7209 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-06/0.4749, allocations: 10.91 kB / 0.7209 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/0.475, allocations: 42.73 kB / 0.7209 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.475, allocations: 0 / 0.7209 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.475, allocations: 1.156 kB / 0.7209 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.475, allocations: 0.6094 kB / 0.7209 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.687e-05/0.4751, allocations: 125.6 kB / 0.721 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4751, allocations: 0 / 0.721 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.4751, allocations: 1.859 kB / 0.721 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.4751, allocations: 8.969 kB / 0.721 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.4751, allocations: 1.25 kB / 0.7211 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4751, allocations: 0.6562 kB / 0.7211 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4751, allocations: 3.938 kB / 0.7211 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.613e-05/0.4752, allocations: 61.12 kB / 0.7211 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.4752, allocations: 6.469 kB / 0.7211 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.4752, allocations: 3.938 kB / 0.7211 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-06/0.4752, allocations: 5.234 kB / 0.7211 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.4752, allocations: 4.703 kB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.4752, allocations: 1.828 kB / 0.7211 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.4752, allocations: 95.45 kB / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4752, allocations: 0 / 0.7212 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000126/0.4754, allocations: 3.25 kB / 0.7212 GB, free: 20.27 MB / 0.6355 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.0002917/0.4757, allocations: 0.6159 MB / 0.7218 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.139e-05/0.4757, allocations: 9.922 kB / 0.7218 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4757, allocations: 4.094 kB / 0.7218 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.4757, allocations: 2.797 kB / 0.7218 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.4759, allocations: 6.844 kB / 0.7219 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.4765, allocations: 1.1 MB / 0.7229 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.4765, allocations: 61 kB / 0.723 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.122e-05/0.4766, allocations: 5.016 kB / 0.723 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.4767, allocations: 14.3 kB / 0.723 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.4767, allocations: 5.219 kB / 0.723 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.4948, allocations: 2.023 MB / 0.725 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.166, allocations: 13.61 kB / 0.725 GB, free: 17.56 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.966166279045865] Failed to read output from testmodel.py, exit status != 0: 7.242680630995892 7.251627585 6.776342012 Calling exit ...