Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.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.00165/0.00165, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001573/0.001573, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9365/0.9365, allocations: 134 MB / 446.4 MB, free: 9.91 MB / 350.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/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: translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [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.002192/0.002192, allocations: 70.42 kB / 0.619 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1799, allocations: 85.9 MB / 0.7028 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.00384/0.1837, allocations: 1.642 MB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1852, allocations: 0.5689 MB / 0.705 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1854, allocations: 7.938 kB / 0.705 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1856, allocations: 39.7 kB / 0.705 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.1859, allocations: 63.73 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1862, allocations: 75.84 kB / 0.7052 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.1865, allocations: 139.5 kB / 0.7053 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.1867, allocations: 37.55 kB / 0.7053 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1869, allocations: 67.7 kB / 0.7054 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1871, allocations: 55.75 kB / 0.7055 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.1871, allocations: 11.94 kB / 0.7055 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1873, allocations: 27.98 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1874, allocations: 47.89 kB / 0.7055 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1875, allocations: 47.61 kB / 0.7056 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1879, allocations: 151.3 kB / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1879, allocations: 0 / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1879, allocations: 0 / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1879, allocations: 0 / 0.7057 GB, free: 13.59 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009763/0.1889, allocations: 405.3 kB / 0.7061 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.1889, allocations: 8.031 kB / 0.7061 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.1892, allocations: 32.78 kB / 0.7062 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.1897, allocations: 190.1 kB / 0.7063 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1897, allocations: 4.375 kB / 0.7063 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1898, allocations: 384 / 0.7063 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.1902, allocations: 165.3 kB / 0.7065 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1902, allocations: 0 / 0.7065 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1903, allocations: 7.938 kB / 0.7065 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1903, allocations: 0 / 0.7065 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.1906, allocations: 67.94 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.1914, allocations: 300.3 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1916, allocations: 38.55 kB / 0.7069 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1917, allocations: 28.89 kB / 0.7069 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1918, allocations: 4 kB / 0.7069 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003679/0.1921, allocations: 148.5 kB / 0.7071 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1921, allocations: 0 / 0.7071 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005848/0.1927, allocations: 125.6 kB / 0.7072 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.1928, allocations: 81.05 kB / 0.7073 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.1932, allocations: 248 kB / 0.7075 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.1932, allocations: 29.7 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1933, allocations: 124.1 kB / 0.7077 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.1934, allocations: 19.83 kB / 0.7077 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1934, allocations: 17.7 kB / 0.7077 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1936, allocations: 326.8 kB / 0.708 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1938, allocations: 23.97 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.194, allocations: 73.11 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.1943, allocations: 74.5 kB / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.1943, allocations: 0 / 0.7082 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004011/0.1947, allocations: 101.5 kB / 0.7083 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.1947, allocations: 10.44 kB / 0.7083 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1947, allocations: 3.938 kB / 0.7083 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1948, allocations: 4 kB / 0.7083 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1949, allocations: 15.98 kB / 0.7083 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1949, allocations: 7.875 kB / 0.7083 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.195, allocations: 15.92 kB / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1951, allocations: 0 / 0.7083 GB, free: 10.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 0.0001551/0.1952, allocations: 125.8 kB / 0.7084 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.1953, allocations: 19.91 kB / 0.7085 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.877e-05/0.1953, allocations: 21.02 kB / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1953, allocations: 0 / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1953, allocations: 3.938 kB / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1953, allocations: 0 / 0.7085 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1955, allocations: 153.3 kB / 0.7086 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1955, allocations: 0 / 0.7086 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.661e-05/0.1956, allocations: 7.984 kB / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1956, allocations: 4 kB / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1957, allocations: 0 / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1957, allocations: 0 / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1957, allocations: 0 / 0.7086 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.1961, allocations: 132.8 kB / 0.7088 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.1961, allocations: 7.953 kB / 0.7088 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.1961, allocations: 4 kB / 0.7088 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1962, allocations: 11.98 kB / 0.7088 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.1963, allocations: 7.922 kB / 0.7088 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.1963, allocations: 4 kB / 0.7088 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002482/0.1966, allocations: 185.6 kB / 0.709 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1966, allocations: 4 kB / 0.709 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003201/0.1969, allocations: 23.89 kB / 0.709 GB, free: 9.957 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003023/0.1972, allocations: 118.3 kB / 0.7091 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1976, allocations: 59.88 kB / 0.7092 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1976, allocations: 0 / 0.7092 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1977, allocations: 27.97 kB / 0.7092 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1982, allocations: 42.66 kB / 0.7092 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.199, allocations: 292.8 kB / 0.7095 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.1991, allocations: 118.1 kB / 0.7096 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.681e-05/0.1992, allocations: 20.34 kB / 0.7096 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.1993, allocations: 15.44 kB / 0.7097 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1993, allocations: 0 / 0.7097 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of Templates: time 0.007536/0.2068, allocations: 1.848 MB / 0.7115 GB, free: 7.414 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.903443114832044] Failed to read output from testmodel.py, exit status != 0: 0.21686211228370667 0.23994031200000002 0.047639374000000005 Calling exit ...