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.001112/0.001112, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008895/0.0008895, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9172/0.9172, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7491/0.7491, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.059e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001838/0.001859, allocations: 1.395 MB / 0.6194 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.001987, allocations: 43.77 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.002028, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.002198, allocations: 15.86 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.002313, allocations: 7.938 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.218e-06/0.002318, allocations: 4 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.00239, allocations: 15.92 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.002431, allocations: 4 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.002478, allocations: 19.92 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.00253, allocations: 7.984 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.002552, allocations: 0 / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.845e-05/0.0026, allocations: 15.94 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.00264, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.002658, allocations: 11.92 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.002761, allocations: 27.97 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002763, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002764, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.002768, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 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.0002661/0.003034, allocations: 258.2 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.003071, allocations: 12.03 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.0031, allocations: 34.73 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.003125, allocations: 4.938 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.003272, allocations: 113.8 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.00328, allocations: 384 / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.003287, allocations: 384 / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.003369, allocations: 34.25 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.003377, allocations: 4.125 kB / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003385, allocations: 384 / 0.62 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.003406, allocations: 8.125 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.003426, allocations: 8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.003551, allocations: 124.8 kB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.946e-05/0.00359, allocations: 18.61 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.003606, allocations: 8.859 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.003627, allocations: 4.062 kB / 0.6202 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.003647, allocations: 38.44 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.003648, allocations: 0 / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.003784, allocations: 41.69 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.003817, allocations: 55.34 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.003905, allocations: 113.8 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.003915, allocations: 29.83 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.003949, allocations: 88.14 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.003972, allocations: 3.953 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.003995, allocations: 13.72 kB / 0.6206 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.004088, allocations: 314.8 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.004096, allocations: 0 / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.004104, allocations: 8 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.004129, allocations: 12.8 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004131, allocations: 0 / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.102e-05/0.004182, allocations: 41.75 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.004197, allocations: 4 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.004202, allocations: 3.938 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.004217, allocations: 7.984 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.004275, allocations: 7.938 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.00428, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.00429, allocations: 0 / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.004297, allocations: 4 kB / 0.621 GB, free: 10.52 MB / 0.5886 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 6.056e-05/0.004357, allocations: 110.8 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-06/0.004362, allocations: 3.953 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.435e-05/0.004447, allocations: 61.02 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004448, allocations: 0 / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.004454, allocations: 3.938 kB / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004457, allocations: 0 / 0.6211 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.004533, allocations: 124.8 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.004535, allocations: 4 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.004546, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.004547, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.004553, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004554, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.004556, allocations: 3.938 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.299e-05/0.004609, allocations: 69.09 kB / 0.6213 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.004622, allocations: 3.953 kB / 0.6213 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.004634, allocations: 7.938 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-06/0.004639, allocations: 0 / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.004654, allocations: 7.938 kB / 0.6213 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.004658, allocations: 3.984 kB / 0.6213 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.004702, allocations: 91.27 kB / 0.6214 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004702, allocations: 0 / 0.6214 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001266/0.004828, allocations: 4 kB / 0.6214 GB, free: 9.949 MB / 0.5886 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.0003723/0.0052, allocations: 0.6032 MB / 0.622 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.001e-05/0.00527, allocations: 11.94 kB / 0.622 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.005272, allocations: 0 / 0.622 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.005277, allocations: 4 kB / 0.622 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.005391, allocations: 7.875 kB / 0.622 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.006102, allocations: 1.114 MB / 0.6231 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.006143, allocations: 67.33 kB / 0.6232 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.006184, allocations: 0 / 0.6232 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.006218, allocations: 20.48 kB / 0.6232 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/0.006218, allocations: 0 / 0.6232 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.01995, allocations: 2.045 MB / 0.6252 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.966, allocations: 4.688 kB / 0.6252 GB, free: 6.09 MB / 0.5886 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.844082361087203] Failed to read output from testmodel.py, exit status != 0: 7.044215199537575 7.052466688 7.047828518 Calling exit ...