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.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.00119/0.00119, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001563/0.001563, allocations: 177.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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.122/1.122, allocations: 177.2 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8312/0.8312, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 1.674e-06/1.674e-06, allocations: 0 / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.887e-05, allocations: 3.078 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002318/0.002337, allocations: 1.741 MB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008511/0.003188, allocations: 0.6078 MB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.003281, allocations: 9.094 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.003454, allocations: 24.44 kB / 482.8 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.003686, allocations: 76.28 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.003872, allocations: 72.33 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.004061, allocations: 140.6 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.004192, allocations: 34.31 kB / 483.1 MB, free: 3.871 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.004374, allocations: 82.17 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.004465, allocations: 55.8 kB / 483.2 MB, free: 3.738 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.004488, allocations: 8 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.004568, allocations: 31.88 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.834e-05/0.004637, allocations: 43.83 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.00467, allocations: 27.92 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.004824, allocations: 116.4 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004826, allocations: 0 / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004827, allocations: 0.875 kB / 483.4 MB, free: 3.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004831, allocations: 0 / 483.4 MB, free: 3.516 MB / 442.7 MB 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.0003649/0.005195, allocations: 368.1 kB / 483.8 MB, free: 3.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.005226, allocations: 8.031 kB / 483.8 MB, free: 3.129 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.005339, allocations: 25.53 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.005543, allocations: 204.7 kB / 484 MB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-06/0.00555, allocations: 1 kB / 484 MB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.005564, allocations: 16.31 kB / 484 MB, free: 2.867 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.005963, allocations: 134.4 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.005969, allocations: 0.8125 kB / 484.2 MB, free: 2.715 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005979, allocations: 4.375 kB / 484.2 MB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.005985, allocations: 4.656 kB / 484.2 MB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.006013, allocations: 18.23 kB / 484.2 MB, free: 2.691 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.0063, allocations: 215.1 kB / 484.4 MB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.385e-05/0.006334, allocations: 18.58 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.006348, allocations: 5.984 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.006359, allocations: 0 / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.006459, allocations: 128.5 kB / 484.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.00646, allocations: 0.9062 kB / 484.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001031/0.006563, allocations: 45.67 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.006599, allocations: 81.92 kB / 484.7 MB, free: 2.125 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.006723, allocations: 213 kB / 484.9 MB, free: 1.902 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006735, allocations: 25.7 kB / 484.9 MB, free: 1.871 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.006779, allocations: 117.1 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.006798, allocations: 13.2 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.006831, allocations: 13.72 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.006911, allocations: 334.7 kB / 485.4 MB, free: 1.387 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.006921, allocations: 3.938 kB / 485.4 MB, free: 1.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.006951, allocations: 49.67 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.006988, allocations: 34.61 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.00699, allocations: 1.062 kB / 485.5 MB, free: 1.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.125e-05/0.007051, allocations: 54.53 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.007062, allocations: 4 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.007067, allocations: 4 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.007078, allocations: 4.344 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.007137, allocations: 7.984 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.007141, allocations: 7.938 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.007174, allocations: 4.781 kB / 485.6 MB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.007181, allocations: 3.984 kB / 485.6 MB, free: 1.184 MB / 442.7 MB 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 6.403e-05/0.007245, allocations: 121.3 kB / 485.7 MB, free: 1.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.00726, allocations: 17.67 kB / 485.7 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.007287, allocations: 13.03 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007289, allocations: 0 / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007291, allocations: 0 / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007293, allocations: 0 / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.047e-05/0.007374, allocations: 98.56 kB / 485.8 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.007376, allocations: 3.984 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.0074, allocations: 8.656 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.007401, allocations: 0 / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.007405, allocations: 0.5938 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.007406, allocations: 1.438 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007407, allocations: 3.938 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.007476, allocations: 77.06 kB / 485.9 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.007488, allocations: 15.91 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.0075, allocations: 0.9375 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.007525, allocations: 7.984 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.007556, allocations: 9.016 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.007572, allocations: 4 kB / 485.9 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.126e-05/0.007623, allocations: 69.98 kB / 486 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007623, allocations: 0.8438 kB / 486 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.007756, allocations: 31.89 kB / 486 MB, free: 0.6641 MB / 442.7 MB 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.000153/0.007909, allocations: 96.23 kB / 486.1 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.971e-05/0.007979, allocations: 18.86 kB / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.007981, allocations: 0 / 486.1 MB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.622e-05/0.007998, allocations: 12.84 kB / 486.2 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.008151, allocations: 47.36 kB / 486.2 MB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.008614, allocations: 281.5 kB / 486.5 MB, free: 180 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.868e-05/0.008652, allocations: 75.92 kB / 486.6 MB, free: 84 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.699e-05/0.008699, allocations: 15 kB / 486.6 MB, free: 72 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.008777, allocations: 71.36 kB / 486.6 MB, free: 0 / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008778, allocations: 0 / 486.6 MB, free: 0 / 442.7 MB Notification: Performance of Templates: time 0.003558/0.01234, allocations: 1.793 MB / 488.4 MB, free: 14.39 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.707955549005419]