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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 116.1 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 65.42 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002774/0.1319, allocations: 1.628 MB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.1328, allocations: 0.5455 MB / 0.6624 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.133, allocations: 4 kB / 0.6624 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1332, allocations: 31.72 kB / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.1335, allocations: 65.81 kB / 0.6625 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1336, allocations: 67.89 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1338, allocations: 135.5 kB / 0.6627 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.134, allocations: 49.45 kB / 0.6628 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1341, allocations: 55.83 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1342, allocations: 63.64 kB / 0.6629 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.1343, allocations: 8 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.1344, allocations: 27.97 kB / 0.6629 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.1344, allocations: 39.84 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.1345, allocations: 59.59 kB / 0.663 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.1347, allocations: 151.3 kB / 0.6632 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1347, allocations: 0 / 0.6632 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1347, allocations: 0 / 0.6632 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1348, allocations: 4 kB / 0.6632 GB, free: 7.34 MB / 0.4981 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.0006158/0.1354, allocations: 470.7 kB / 0.6636 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1354, allocations: 8.031 kB / 0.6636 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.1355, allocations: 20.75 kB / 0.6636 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1358, allocations: 232.8 kB / 0.6639 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1358, allocations: 8.375 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1358, allocations: 12.3 kB / 0.6639 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.1361, allocations: 106 kB / 0.664 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1361, allocations: 0 / 0.664 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1362, allocations: 4 kB / 0.664 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1362, allocations: 4 kB / 0.664 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.1364, allocations: 59.94 kB / 0.664 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.137, allocations: 388.4 kB / 0.6644 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1372, allocations: 38.55 kB / 0.6645 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1373, allocations: 32.83 kB / 0.6645 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1373, allocations: 8 kB / 0.6645 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.1375, allocations: 101 kB / 0.6646 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.1375, allocations: 0 / 0.6646 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004293/0.138, allocations: 117.4 kB / 0.6647 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.1381, allocations: 81.11 kB / 0.6648 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.1383, allocations: 252.9 kB / 0.665 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1383, allocations: 33.7 kB / 0.6651 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.1384, allocations: 132 kB / 0.6652 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.1384, allocations: 3.906 kB / 0.6652 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1385, allocations: 17.72 kB / 0.6652 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.1386, allocations: 322.8 kB / 0.6655 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.1387, allocations: 31.97 kB / 0.6655 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1388, allocations: 47.59 kB / 0.6656 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.139, allocations: 74.48 kB / 0.6657 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1391, allocations: 0 / 0.6657 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002774/0.1393, allocations: 101.4 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1394, allocations: 4 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1394, allocations: 4.094 kB / 0.6658 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1394, allocations: 8.078 kB / 0.6658 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1395, allocations: 15.92 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1395, allocations: 0 / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.1396, allocations: 11.98 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1396, allocations: 0 / 0.6658 GB, free: 4.383 MB / 0.4981 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 9.897e-05/0.1397, allocations: 137.7 kB / 0.6659 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1398, allocations: 19.72 kB / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.1398, allocations: 25.17 kB / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1398, allocations: 7.938 kB / 0.666 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1398, allocations: 0 / 0.666 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1399, allocations: 88.92 kB / 0.6661 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1399, allocations: 4 kB / 0.6661 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.14, allocations: 11.98 kB / 0.6661 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.14, allocations: 4 kB / 0.6661 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003306/0.1404, allocations: 172.8 kB / 0.6662 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003442/0.1407, allocations: 270.5 kB / 0.6665 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001149/0.1409, allocations: 23.97 kB / 0.6665 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001595/0.141, allocations: 192.5 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of Backend: time 1.783e-06/0.141, allocations: 4 kB / 0.6667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005796/0.1416, allocations: 157 kB / 0.6669 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007352/0.1424, allocations: 0.7357 MB / 0.6676 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.004859/0.1472, allocations: 1.921 MB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile (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)