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.00142/0.00142, allocations: 109.8 kB / 16.4 MB, free: 6.504 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.001553/0.001553, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.453/1.453, allocations: 222.9 MB / 245.1 MB, free: 14.98 MB / 206.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.168/1.168, allocations: 173.4 MB / 470.7 MB, free: 13.57 MB / 382.1 MB " [Timeout remaining time 178] 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.001943/0.001943, allocations: 68.58 kB / 0.6478 GB, free: 11.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1891, allocations: 89.53 MB / 0.7352 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002537/0.1917, allocations: 1.355 MB / 0.7366 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.1919, allocations: 39.83 kB / 0.7366 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.1919, allocations: 3.938 kB / 0.7366 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1921, allocations: 15.91 kB / 0.7366 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1922, allocations: 15.88 kB / 0.7366 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.516e-06/0.1922, allocations: 0 / 0.7366 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.1923, allocations: 15.98 kB / 0.7367 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1924, allocations: 8.281 kB / 0.7367 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.1924, allocations: 11.88 kB / 0.7367 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.1924, allocations: 11.97 kB / 0.7367 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1925, allocations: 4 kB / 0.7367 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.299e-05/0.1925, allocations: 8 kB / 0.7367 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.1926, allocations: 7.938 kB / 0.7367 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.1926, allocations: 7.938 kB / 0.7367 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.1927, allocations: 39.83 kB / 0.7367 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1927, allocations: 0 / 0.7367 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1927, allocations: 0 / 0.7367 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1927, allocations: 0 / 0.7367 GB, free: 0.6484 MB / 0.5606 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.0003705/0.1931, allocations: 339.3 kB / 0.7371 GB, free: 272 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.1931, allocations: 8.031 kB / 0.7371 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1932, allocations: 34.75 kB / 0.7371 GB, free: 220 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.332e-05/0.1932, allocations: 4.891 kB / 0.7371 GB, free: 216 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1934, allocations: 168.4 kB / 0.7373 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1934, allocations: 384 / 0.7373 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-06/0.1934, allocations: 384 / 0.7373 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.1935, allocations: 38.3 kB / 0.7373 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1936, allocations: 7.938 kB / 0.7373 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.1936, allocations: 0 / 0.7373 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.1936, allocations: 8 kB / 0.7373 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.1936, allocations: 0 / 0.7373 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.1938, allocations: 153.7 kB / 0.7375 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.1939, allocations: 18.58 kB / 0.7375 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.1939, allocations: 4.859 kB / 0.7375 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.1939, allocations: 0 / 0.7375 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1939, allocations: 42.56 kB / 0.7375 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1939, allocations: 3.938 kB / 0.7375 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.1941, allocations: 49.41 kB / 0.7376 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1941, allocations: 55.41 kB / 0.7376 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.1943, allocations: 113.8 kB / 0.7377 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1943, allocations: 25.7 kB / 0.7378 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1943, allocations: 84.14 kB / 0.7379 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1944, allocations: 4.125 kB / 0.7379 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.1944, allocations: 13.72 kB / 0.7379 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1946, allocations: 318.8 kB / 0.7382 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.1946, allocations: 4 kB / 0.7382 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-06/0.1946, allocations: 0 / 0.7382 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.809e-05/0.1946, allocations: 12.8 kB / 0.7382 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1946, allocations: 0 / 0.7382 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.745e-05/0.1947, allocations: 49.7 kB / 0.7382 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1947, allocations: 7.938 kB / 0.7382 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1947, allocations: 0 / 0.7382 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1947, allocations: 0 / 0.7382 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.1948, allocations: 4 kB / 0.7383 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1948, allocations: 0 / 0.7383 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.1948, allocations: 0 / 0.7383 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.1948, allocations: 320 / 0.7383 GB, free: 14.87 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 8.566e-05/0.1949, allocations: 109.8 kB / 0.7384 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1949, allocations: 3.938 kB / 0.7384 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.195, allocations: 53.19 kB / 0.7384 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.195, allocations: 0 / 0.7384 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1951, allocations: 0 / 0.7384 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1951, allocations: 3.984 kB / 0.7384 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.1952, allocations: 161.7 kB / 0.7386 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1952, allocations: 4 kB / 0.7386 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.1952, allocations: 0 / 0.7386 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1952, allocations: 3.938 kB / 0.7386 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.1952, allocations: 0 / 0.7386 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1952, allocations: 0 / 0.7386 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1953, allocations: 4.031 kB / 0.7386 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.1953, allocations: 69.02 kB / 0.7386 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.1954, allocations: 81.11 kB / 0.7387 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1954, allocations: 7.875 kB / 0.7387 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.557e-06/0.1955, allocations: 3.938 kB / 0.7387 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-06/0.1955, allocations: 0 / 0.7387 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1955, allocations: 0 / 0.7387 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.1955, allocations: 111.3 kB / 0.7388 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1956, allocations: 0 / 0.7388 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001857/0.1957, allocations: 4 kB / 0.7388 GB, free: 14.15 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.0005405/0.1963, allocations: 0.6085 MB / 0.7394 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.1964, allocations: 7.938 kB / 0.7394 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1964, allocations: 0 / 0.7394 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.1964, allocations: 4 kB / 0.7394 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.1965, allocations: 11.92 kB / 0.7395 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.1975, allocations: 1.106 MB / 0.7405 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1979, allocations: 0.6846 MB / 0.7412 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.166e-05/0.1979, allocations: 7.938 kB / 0.7412 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.198, allocations: 7.438 kB / 0.7412 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.198, allocations: 0 / 0.7412 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.2204, allocations: 1.4 MB / 0.7426 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.143, allocations: 4.719 kB / 0.7426 GB, free: 10.27 MB / 0.5762 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 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.27193741640076] Failed to read output from testmodel.py, exit status != 0: 8.2082797922194 8.523128924 8.327482059 Calling exit ...