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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 104.5 kB / 18.05 MB, free: 4.32 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 184.5 kB / 21.17 MB, free: 1.211 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 249.7 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8202/0.8202, allocations: 137.4 MB / 442.1 MB, free: 13.94 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 0.6134 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3411, allocations: 85.55 MB / 0.6969 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.002977/0.344, allocations: 1.627 MB / 0.6985 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009286/0.345, allocations: 0.5515 MB / 0.699 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.345, allocations: 6.812 kB / 0.699 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.3452, allocations: 26.61 kB / 0.6991 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3454, allocations: 63.33 kB / 0.6991 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.3456, allocations: 70.94 kB / 0.6992 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3458, allocations: 130.4 kB / 0.6993 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3459, allocations: 36.83 kB / 0.6993 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.346, allocations: 58.34 kB / 0.6994 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.3462, allocations: 71.11 kB / 0.6995 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3462, allocations: 8.688 kB / 0.6995 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.3462, allocations: 15.03 kB / 0.6995 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.3463, allocations: 48.64 kB / 0.6995 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.3464, allocations: 59.89 kB / 0.6996 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3466, allocations: 144.1 kB / 0.6997 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3466, allocations: 5.375 kB / 0.6997 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3466, allocations: 3.938 kB / 0.6997 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3466, allocations: 0 / 0.6997 GB, free: 12.87 MB / 0.5137 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.0006693/0.3473, allocations: 473.3 kB / 0.7002 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3473, allocations: 10.39 kB / 0.7002 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.3474, allocations: 21.61 kB / 0.7002 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3477, allocations: 241.8 kB / 0.7004 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3477, allocations: 2.562 kB / 0.7004 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3477, allocations: 7.688 kB / 0.7005 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.348, allocations: 113.9 kB / 0.7006 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.348, allocations: 7.922 kB / 0.7006 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.348, allocations: 1.281 kB / 0.7006 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.348, allocations: 1.344 kB / 0.7006 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.3483, allocations: 67 kB / 0.7006 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.3489, allocations: 382.2 kB / 0.701 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.349, allocations: 38.61 kB / 0.701 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3491, allocations: 34.44 kB / 0.7011 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.3491, allocations: 0 / 0.7011 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.3494, allocations: 94.39 kB / 0.7012 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3494, allocations: 0 / 0.7012 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004073/0.3498, allocations: 132.5 kB / 0.7013 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.3498, allocations: 77.11 kB / 0.7014 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.3501, allocations: 257.1 kB / 0.7016 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.3501, allocations: 25.7 kB / 0.7016 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.3502, allocations: 125.7 kB / 0.7018 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.3502, allocations: 16.95 kB / 0.7018 GB, free: 11 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3503, allocations: 16.48 kB / 0.7018 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3504, allocations: 335.7 kB / 0.7021 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3506, allocations: 25.38 kB / 0.7021 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3507, allocations: 52.12 kB / 0.7022 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3509, allocations: 70.41 kB / 0.7022 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3509, allocations: 1.75 kB / 0.7022 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002555/0.3511, allocations: 97.86 kB / 0.7023 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3511, allocations: 9.625 kB / 0.7024 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3511, allocations: 0 / 0.7024 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3512, allocations: 1.281 kB / 0.7024 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3513, allocations: 19.73 kB / 0.7024 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3513, allocations: 1.062 kB / 0.7024 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.3514, allocations: 14.7 kB / 0.7024 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3514, allocations: 3.094 kB / 0.7024 GB, free: 10.45 MB / 0.5137 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.0001168/0.3515, allocations: 128.3 kB / 0.7025 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.3515, allocations: 27.36 kB / 0.7025 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.3515, allocations: 19.36 kB / 0.7026 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3515, allocations: 7.875 kB / 0.7026 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3516, allocations: 0 / 0.7026 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.3516, allocations: 89.05 kB / 0.7026 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3517, allocations: 5.172 kB / 0.7027 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.463e-05/0.3517, allocations: 6.031 kB / 0.7027 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3518, allocations: 9.547 kB / 0.7027 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003201/0.3521, allocations: 172.2 kB / 0.7028 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003307/0.3524, allocations: 270.4 kB / 0.7031 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001067/0.3525, allocations: 35.03 kB / 0.7031 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001742/0.3527, allocations: 187.6 kB / 0.7033 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of Backend: time 2.01e-07/0.3527, allocations: 0 / 0.7033 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.3533, allocations: 141.1 kB / 0.7034 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007739/0.3541, allocations: 0.7547 MB / 0.7042 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of Templates: time 0.00519/0.3593, allocations: 1.932 MB / 0.7061 GB, free: 7.441 MB / 0.5137 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]