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.001274/0.001274, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001329/0.001329, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.49/1.49, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.109/1.109, allocations: 175.7 MB / 478.4 MB, free: 3.406 MB / 366.1 MB " [Timeout remaining time 179] 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.001979/0.001979, allocations: 66.58 kB / 0.6652 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1892, allocations: 94.53 MB / 0.7575 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002896/0.1921, allocations: 1.371 MB / 0.7588 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001747/0.1923, allocations: 39.83 kB / 0.7589 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.1923, allocations: 4 kB / 0.7589 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.1925, allocations: 11.92 kB / 0.7589 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1926, allocations: 19.86 kB / 0.7589 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/0.1926, allocations: 0 / 0.7589 GB, free: 156 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.1927, allocations: 19.98 kB / 0.7589 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1927, allocations: 3.938 kB / 0.7589 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.1927, allocations: 7.938 kB / 0.7589 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.1928, allocations: 19.86 kB / 0.759 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1928, allocations: 0 / 0.759 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.1929, allocations: 11.98 kB / 0.759 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.1929, allocations: 0 / 0.759 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.1929, allocations: 11.94 kB / 0.759 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.193, allocations: 31.91 kB / 0.759 GB, free: 48 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.193, allocations: 0 / 0.759 GB, free: 48 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.193, allocations: 0 / 0.759 GB, free: 48 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1931, allocations: 4 kB / 0.759 GB, free: 44 kB / 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.000429/0.1935, allocations: 339.3 kB / 0.7593 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1935, allocations: 8.031 kB / 0.7593 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1936, allocations: 30.75 kB / 0.7594 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.1936, allocations: 8.891 kB / 0.7594 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1938, allocations: 172.4 kB / 0.7595 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1938, allocations: 384 / 0.7595 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1938, allocations: 384 / 0.7595 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/0.1939, allocations: 50.06 kB / 0.7596 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.194, allocations: 3.938 kB / 0.7596 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.194, allocations: 0 / 0.7596 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.194, allocations: 0 / 0.7596 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.194, allocations: 4 kB / 0.7596 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1942, allocations: 157.7 kB / 0.7597 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.1942, allocations: 18.58 kB / 0.7598 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.1943, allocations: 10.83 kB / 0.7598 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1943, allocations: 7.984 kB / 0.7598 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1943, allocations: 34.5 kB / 0.7598 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1943, allocations: 0 / 0.7598 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.1945, allocations: 45.58 kB / 0.7599 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1945, allocations: 55.41 kB / 0.7599 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1947, allocations: 109.8 kB / 0.76 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1947, allocations: 29.7 kB / 0.76 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.1947, allocations: 88.27 kB / 0.7601 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1947, allocations: 0 / 0.7601 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1948, allocations: 13.72 kB / 0.7601 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.195, allocations: 318.8 kB / 0.7604 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.195, allocations: 0 / 0.7604 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.195, allocations: 4 kB / 0.7605 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.195, allocations: 16.8 kB / 0.7605 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.195, allocations: 0 / 0.7605 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.919e-05/0.1951, allocations: 45.7 kB / 0.7605 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1951, allocations: 9.969 kB / 0.7605 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1951, allocations: 0 / 0.7605 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1951, allocations: 0 / 0.7605 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.1952, allocations: 4 kB / 0.7605 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1952, allocations: 0 / 0.7605 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.1952, allocations: 0 / 0.7605 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1952, allocations: 0 / 0.7605 GB, free: 14.26 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.839e-05/0.1953, allocations: 113.8 kB / 0.7606 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.1953, allocations: 7.969 kB / 0.7606 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1954, allocations: 45.16 kB / 0.7607 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1954, allocations: 0 / 0.7607 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1954, allocations: 0 / 0.7607 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1954, allocations: 3.938 kB / 0.7607 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1956, allocations: 161.6 kB / 0.7608 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1956, allocations: 0 / 0.7608 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.1956, allocations: 4 kB / 0.7608 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1956, allocations: 3.938 kB / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.1956, allocations: 0 / 0.7608 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1956, allocations: 4.031 kB / 0.7609 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1956, allocations: 0 / 0.7609 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.1957, allocations: 65.03 kB / 0.7609 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.1957, allocations: 81.09 kB / 0.761 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1958, allocations: 7.938 kB / 0.761 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-06/0.1958, allocations: 0 / 0.761 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.1958, allocations: 4 kB / 0.761 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1958, allocations: 8.031 kB / 0.761 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.1959, allocations: 95.56 kB / 0.7611 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1959, allocations: 0 / 0.7611 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001939/0.1961, allocations: 4 kB / 0.7611 GB, free: 13.55 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.0005622/0.1966, allocations: 0.6124 MB / 0.7617 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.1967, allocations: 11.94 kB / 0.7617 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.1967, allocations: 0 / 0.7617 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-06/0.1967, allocations: 4 kB / 0.7617 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1969, allocations: 5.703 kB / 0.7617 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1981, allocations: 1.111 MB / 0.7628 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1985, allocations: 0.6845 MB / 0.7635 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.84e-05/0.1986, allocations: 4 kB / 0.7635 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.1986, allocations: 11.38 kB / 0.7635 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.1986, allocations: 0 / 0.7635 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2235, allocations: 1.406 MB / 0.7649 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.291/8.515, allocations: 5.531 kB / 0.7649 GB, free: 9.656 MB / 0.5762 GB " [Timeout remaining time 651] (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.534733150620013] Failed to read output from testmodel.py, exit status != 0: 8.584374940954149 8.612226826 8.414021985 Calling exit ...