Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.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.00136/0.00136, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001437/0.001437, allocations: 186 kB / 20.78 MB, free: 1.547 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.527/1.527, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.174/1.174, allocations: 175.7 MB / 480.2 MB, free: 2.785 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: translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 59.16 kB / 0.6683 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1991, allocations: 94.54 MB / 0.7607 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.003128/0.2022, allocations: 1.655 MB / 0.7623 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.2032, allocations: 0.5533 MB / 0.7628 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.2033, allocations: 4 kB / 0.7628 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2035, allocations: 27.73 kB / 0.7629 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.2037, allocations: 55.73 kB / 0.7629 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.2039, allocations: 67.84 kB / 0.763 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.2041, allocations: 135.5 kB / 0.7631 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2043, allocations: 37.42 kB / 0.7631 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.2044, allocations: 59.77 kB / 0.7632 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.2045, allocations: 63.7 kB / 0.7633 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.2045, allocations: 12 kB / 0.7633 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.2046, allocations: 23.92 kB / 0.7633 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.2047, allocations: 47.83 kB / 0.7633 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.978e-05/0.2048, allocations: 59.61 kB / 0.7634 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.205, allocations: 139.4 kB / 0.7635 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.205, allocations: 0 / 0.7635 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.435e-06/0.205, allocations: 0 / 0.7635 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.205, allocations: 0 / 0.7635 GB, free: 13.37 MB / 0.5762 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.0007049/0.2057, allocations: 482.3 kB / 0.764 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2058, allocations: 8.031 kB / 0.764 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.497e-05/0.2058, allocations: 16.84 kB / 0.764 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.2062, allocations: 241 kB / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2062, allocations: 8.312 kB / 0.7642 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2062, allocations: 8.375 kB / 0.7643 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.2065, allocations: 113.1 kB / 0.7644 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2065, allocations: 0 / 0.7644 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2065, allocations: 3.984 kB / 0.7644 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2065, allocations: 0 / 0.7644 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.2067, allocations: 67.94 kB / 0.7644 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.2074, allocations: 388.5 kB / 0.7648 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2075, allocations: 38.56 kB / 0.7648 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2076, allocations: 28.89 kB / 0.7649 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2076, allocations: 3.984 kB / 0.7649 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.2078, allocations: 101 kB / 0.765 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2079, allocations: 4 kB / 0.765 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004269/0.2083, allocations: 129.3 kB / 0.7651 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.2083, allocations: 77.11 kB / 0.7652 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.2086, allocations: 253 kB / 0.7654 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.2086, allocations: 25.7 kB / 0.7654 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.2087, allocations: 143.9 kB / 0.7656 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.2087, allocations: 3.953 kB / 0.7656 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.2088, allocations: 17.66 kB / 0.7656 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2089, allocations: 330.8 kB / 0.7659 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.209, allocations: 23.97 kB / 0.7659 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.2092, allocations: 55.41 kB / 0.766 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2094, allocations: 66.53 kB / 0.766 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2094, allocations: 4.031 kB / 0.766 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002739/0.2096, allocations: 105.4 kB / 0.7661 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2097, allocations: 4 kB / 0.7662 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2097, allocations: 0 / 0.7662 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2097, allocations: 7.938 kB / 0.7662 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2098, allocations: 11.98 kB / 0.7662 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2098, allocations: 4.094 kB / 0.7662 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.132e-05/0.2099, allocations: 15.94 kB / 0.7662 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.2099, allocations: 0 / 0.7662 GB, free: 10.38 MB / 0.5762 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.0001107/0.21, allocations: 129.8 kB / 0.7663 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.21, allocations: 15.91 kB / 0.7663 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.2101, allocations: 17.23 kB / 0.7663 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2101, allocations: 3.938 kB / 0.7664 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2101, allocations: 0 / 0.7664 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2101, allocations: 4 kB / 0.7664 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.2103, allocations: 213.6 kB / 0.7666 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2103, allocations: 0 / 0.7666 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.2104, allocations: 11.98 kB / 0.7666 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2104, allocations: 0 / 0.7666 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.2104, allocations: 3.984 kB / 0.7666 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2104, allocations: 3.938 kB / 0.7666 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2104, allocations: 4 kB / 0.7666 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.2107, allocations: 124.9 kB / 0.7667 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.2107, allocations: 96.95 kB / 0.7668 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.2108, allocations: 8.266 kB / 0.7668 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.2108, allocations: 11.92 kB / 0.7668 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.2109, allocations: 7.984 kB / 0.7668 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.2109, allocations: 4 kB / 0.7668 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001765/0.2111, allocations: 192.5 kB / 0.767 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2111, allocations: 4 kB / 0.767 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002214/0.2113, allocations: 16 kB / 0.767 GB, free: 9.426 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: 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.0002338/0.2115, allocations: 124.8 kB / 0.7671 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.2118, allocations: 59.89 kB / 0.7672 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2118, allocations: 0 / 0.7672 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2119, allocations: 27.97 kB / 0.7672 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2122, allocations: 51.19 kB / 0.7673 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.2128, allocations: 299.6 kB / 0.7676 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.2131, allocations: 0.7198 MB / 0.7683 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.578e-05/0.2132, allocations: 16.55 kB / 0.7683 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.2132, allocations: 15.42 kB / 0.7683 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2132, allocations: 0 / 0.7683 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of Templates: time 0.005342/0.2185, allocations: 1.774 MB / 0.77 GB, free: 6.32 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.260138077661395]