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.001431/0.001431, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001557/0.001557, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 1.249/1.249, allocations: 154.8 MB / 414.4 MB, free: 472 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 178] 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 2.294e-06/2.294e-06, allocations: 0.6562 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.216e-05/3.446e-05, allocations: 3.859 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.003359/0.003394, allocations: 1.639 MB / 0.5214 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.004666, allocations: 0.5792 MB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.004764, allocations: 7.938 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.004979, allocations: 23.8 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.005327, allocations: 68.69 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.005598, allocations: 72.75 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.005858, allocations: 139.5 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.006058, allocations: 31.3 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.006314, allocations: 87.67 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006461, allocations: 51.86 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.006505, allocations: 8 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.006603, allocations: 20.94 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.006732, allocations: 47.83 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.006818, allocations: 41.25 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.007321, allocations: 151.4 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.007327, allocations: 0 / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.007327, allocations: 3.938 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.007333, allocations: 1.156 kB / 0.5227 GB, free: 15.38 MB / 0.4948 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.0008033/0.008137, allocations: 389.4 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.008179, allocations: 8.719 kB / 0.5231 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.008406, allocations: 38.06 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.008807, allocations: 198.3 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.008821, allocations: 4.375 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.008843, allocations: 8.969 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.009212, allocations: 159.5 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.009221, allocations: 192 / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.009241, allocations: 4.375 kB / 0.5235 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.00925, allocations: 7.875 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.00949, allocations: 69.53 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.01011, allocations: 300.3 kB / 0.5239 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.01027, allocations: 47.95 kB / 0.5239 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.01038, allocations: 29.86 kB / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.0104, allocations: 0 / 0.5239 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.01068, allocations: 149.9 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.01068, allocations: 0 / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.00049/0.01117, allocations: 119.1 kB / 0.5242 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.01124, allocations: 82.3 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.01153, allocations: 236.1 kB / 0.5245 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.01156, allocations: 29.7 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01167, allocations: 132 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.01169, allocations: 9.734 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.01173, allocations: 17.7 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.01193, allocations: 330.8 kB / 0.525 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.01206, allocations: 26.06 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.01221, allocations: 81.14 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01244, allocations: 64.91 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01244, allocations: 0 / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003061/0.01274, allocations: 107.6 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01276, allocations: 4 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01277, allocations: 0 / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01278, allocations: 0 / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.0129, allocations: 13.02 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.0129, allocations: 4 kB / 0.5253 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.013, allocations: 16.86 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01301, allocations: 11.88 kB / 0.5253 GB, free: 12.52 MB / 0.4948 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.0001271/0.01314, allocations: 125.1 kB / 0.5254 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.01317, allocations: 19.91 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.01322, allocations: 21.02 kB / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01322, allocations: 0 / 0.5255 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01322, allocations: 4 kB / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01323, allocations: 0 / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.01341, allocations: 153.2 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.01341, allocations: 7.938 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.229e-05/0.0135, allocations: 10.77 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.0135, allocations: 4 kB / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01351, allocations: 0 / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01351, allocations: 0 / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01351, allocations: 0 / 0.5256 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.01385, allocations: 130.4 kB / 0.5258 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01387, allocations: 11.91 kB / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.01389, allocations: 0 / 0.5258 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.01398, allocations: 11.98 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.01404, allocations: 9.266 kB / 0.5258 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.01406, allocations: 4 kB / 0.5258 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002019/0.01426, allocations: 185.6 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01426, allocations: 0.6562 kB / 0.526 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002255/0.01449, allocations: 16 kB / 0.526 GB, free: 11.78 MB / 0.4948 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.0003085/0.0148, allocations: 126.6 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.01512, allocations: 65.72 kB / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01512, allocations: 0 / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01524, allocations: 29.69 kB / 0.5262 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.01557, allocations: 40.19 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006229/0.01619, allocations: 290.5 kB / 0.5265 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.01632, allocations: 111.2 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.338e-05/0.01638, allocations: 13.7 kB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.01643, allocations: 20.48 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01643, allocations: 2.438 kB / 0.5266 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.005915/0.02235, allocations: 1.788 MB / 0.5284 GB, free: 9.406 MB / 0.4948 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.02278425404802]