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.0009189/0.0009189, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001366/0.001366, allocations: 217.2 kB / 22.25 MB, free: 3.57 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.019/1.019, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.8099/0.8099, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [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.001139/0.001139, allocations: 70.84 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.489, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002222/0.4913, allocations: 1.386 MB / 0.8187 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.4914, allocations: 39.09 kB / 0.8187 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.4914, allocations: 4 kB / 0.8187 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.4916, allocations: 11.59 kB / 0.8188 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.4917, allocations: 19.12 kB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.648e-06/0.4917, allocations: 3.938 kB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.099e-05/0.4918, allocations: 16.53 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.4918, allocations: 7.516 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.4918, allocations: 11 kB / 0.8188 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.4919, allocations: 12.52 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4919, allocations: 3.438 kB / 0.8188 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.492, allocations: 12.34 kB / 0.8188 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.394e-05/0.492, allocations: 4.844 kB / 0.8188 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.492, allocations: 10.05 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.4921, allocations: 27.05 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4921, allocations: 0 / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4922, allocations: 0.75 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.4922, allocations: 0 / 0.8189 GB, free: 180 kB / 0.6042 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.0003338/0.4925, allocations: 261.2 kB / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4925, allocations: 12.03 kB / 0.8191 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.4926, allocations: 31.27 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.4926, allocations: 1.688 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4928, allocations: 131.6 kB / 0.8193 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.4928, allocations: 4.375 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.4928, allocations: 384 / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.518e-05/0.4929, allocations: 35.19 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4929, allocations: 4.734 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.4929, allocations: 0 / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.4929, allocations: 0 / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.4929, allocations: 3.109 kB / 0.8193 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.4931, allocations: 131.3 kB / 0.8195 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.153e-05/0.4931, allocations: 15.09 kB / 0.8195 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.4931, allocations: 10.11 kB / 0.8195 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.4931, allocations: 4 kB / 0.8195 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.4932, allocations: 37.09 kB / 0.8195 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.4932, allocations: 0 / 0.8195 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.4933, allocations: 44.67 kB / 0.8196 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4933, allocations: 52.53 kB / 0.8196 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.4934, allocations: 116.7 kB / 0.8197 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.4934, allocations: 26.64 kB / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.4935, allocations: 82.41 kB / 0.8198 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.4935, allocations: 8.891 kB / 0.8199 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.4935, allocations: 14.22 kB / 0.8199 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.4936, allocations: 316.8 kB / 0.8202 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.4936, allocations: 1.469 kB / 0.8202 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.4936, allocations: 7.344 kB / 0.8202 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/0.4936, allocations: 12.7 kB / 0.8202 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4936, allocations: 0 / 0.8202 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.549e-05/0.4937, allocations: 34.73 kB / 0.8202 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.4937, allocations: 10.55 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.4937, allocations: 0 / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4937, allocations: 0 / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.543e-05/0.4937, allocations: 6.438 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4937, allocations: 0.5625 kB / 0.8202 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-06/0.4937, allocations: 4.781 kB / 0.8202 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4938, allocations: 2.094 kB / 0.8202 GB, free: 14.71 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 5.026e-05/0.4938, allocations: 112.7 kB / 0.8204 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-06/0.4938, allocations: 10.03 kB / 0.8204 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/0.4939, allocations: 55.67 kB / 0.8204 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4939, allocations: 4.781 kB / 0.8204 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4939, allocations: 0 / 0.8204 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4939, allocations: 0 / 0.8204 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.755e-05/0.494, allocations: 129.5 kB / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.494, allocations: 0 / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-06/0.494, allocations: 1.781 kB / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.494, allocations: 5.406 kB / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.494, allocations: 0 / 0.8205 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.494, allocations: 2.703 kB / 0.8206 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.494, allocations: 0 / 0.8206 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.628e-05/0.494, allocations: 63.78 kB / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.494, allocations: 4.828 kB / 0.8206 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.494, allocations: 3.938 kB / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-06/0.4941, allocations: 4.031 kB / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.4941, allocations: 0.9375 kB / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.4941, allocations: 0 / 0.8206 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.4941, allocations: 92.62 kB / 0.8207 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4941, allocations: 0 / 0.8207 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001216/0.4942, allocations: 6.922 kB / 0.8207 GB, free: 14.21 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.000483/0.4947, allocations: 0.6225 MB / 0.8213 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.827e-05/0.4948, allocations: 8.734 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4948, allocations: 2.031 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-06/0.4948, allocations: 1.766 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.4949, allocations: 7.969 kB / 0.8213 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.4956, allocations: 1.107 MB / 0.8224 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.4957, allocations: 65.14 kB / 0.8225 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.4957, allocations: 9.047 kB / 0.8225 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.4958, allocations: 13.48 kB / 0.8225 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4958, allocations: 0 / 0.8225 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.5106, allocations: 1.896 MB / 0.8244 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/7.221, allocations: 13.84 kB / 0.8244 GB, free: 11.53 MB / 0.6198 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: 10.391412302851677] Failed to read output from testmodel.py, exit status != 0: 7.3009638311341405 7.312156989 6.817138198 Calling exit ...