Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.0009818/0.0009818, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.062/1.062, allocations: 177.1 MB / 200.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.001493/0.001493, allocations: 156.6 kB / 256.9 MB, free: 12.99 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02514/0.02514, allocations: 6.674 MB / 320.1 MB, free: 26.34 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 392.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.32e-05, allocations: 2.312 kB / 392.1 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001387/0.001401, allocations: 0.5163 MB / 392.6 MB, free: 1.773 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.001523, allocations: 27.89 kB / 392.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.00155, allocations: 0 / 392.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.001564, allocations: 0 / 392.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.001605, allocations: 0 / 392.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.602e-05/0.001691, allocations: 7.938 kB / 392.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.834e-05/0.00174, allocations: 27.84 kB / 392.6 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.001774, allocations: 7.938 kB / 392.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.842e-05/0.001813, allocations: 7.984 kB / 392.7 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.001865, allocations: 4 kB / 392.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.001879, allocations: 0 / 392.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.001886, allocations: 4 kB / 392.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.001899, allocations: 0 / 392.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.001918, allocations: 7.938 kB / 392.7 MB, free: 1.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.058e-05/0.001968, allocations: 11.97 kB / 392.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.00197, allocations: 0 / 392.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.51e-07/0.00197, allocations: 0 / 392.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.001974, allocations: 4 kB / 392.7 MB, free: 1.664 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002687/0.002242, allocations: 352.7 kB / 393 MB, free: 1.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.002278, allocations: 12.03 kB / 393 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.108e-05/0.002299, allocations: 0.9375 kB / 393 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.002367, allocations: 112.6 kB / 393.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.002376, allocations: 384 / 393.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.00239, allocations: 384 / 393.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.639e-05/0.002446, allocations: 34.25 kB / 393.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.002452, allocations: 192 / 393.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.002458, allocations: 4.375 kB / 393.2 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.002464, allocations: 8.375 kB / 393.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.002479, allocations: 7.875 kB / 393.2 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.002581, allocations: 97.25 kB / 393.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.002633, allocations: 43.05 kB / 393.3 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.00265, allocations: 15.81 kB / 393.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.002655, allocations: 0 / 393.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.002676, allocations: 37.39 kB / 393.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.92e-07/0.002677, allocations: 0 / 393.4 MB, free: 0.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 9.453e-05/0.002771, allocations: 53.58 kB / 393.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.002793, allocations: 51.41 kB / 393.5 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.002854, allocations: 157.9 kB / 393.7 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.002863, allocations: 25.7 kB / 393.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.002897, allocations: 134.8 kB / 393.8 MB, free: 380 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.002919, allocations: 15.88 kB / 393.8 MB, free: 364 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.002947, allocations: 19.38 kB / 393.8 MB, free: 336 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.00307, allocations: 0.4883 MB / 394.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-06/0.003077, allocations: 0 / 394.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.003086, allocations: 7.984 kB / 394.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.003113, allocations: 20.08 kB / 394.4 MB, free: 15.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003114, allocations: 4 kB / 394.4 MB, free: 15.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.932e-05/0.003164, allocations: 41.73 kB / 394.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.003173, allocations: 12 kB / 394.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.003178, allocations: 3.984 kB / 394.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.003188, allocations: 0 / 394.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.003252, allocations: 12 kB / 394.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.003254, allocations: 0 / 394.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.003268, allocations: 3.953 kB / 394.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.003272, allocations: 3.938 kB / 394.4 MB, free: 15.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.639e-05/0.003328, allocations: 164.6 kB / 394.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-06/0.003334, allocations: 3.938 kB / 394.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.003353, allocations: 7.688 kB / 394.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.003354, allocations: 4 kB / 394.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.003355, allocations: 0 / 394.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.003357, allocations: 0 / 394.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.027e-05/0.003417, allocations: 97.2 kB / 394.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.003418, allocations: 0 / 394.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.00346, allocations: 15.98 kB / 394.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.00346, allocations: 0 / 394.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.003467, allocations: 0 / 394.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003468, allocations: 0 / 394.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.003468, allocations: 0 / 394.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.266e-05/0.003551, allocations: 84.38 kB / 394.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.00356, allocations: 7.953 kB / 394.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.003569, allocations: 4 kB / 394.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.003579, allocations: 0 / 394.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.003588, allocations: 7.922 kB / 394.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.003589, allocations: 0 / 394.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.063e-05/0.00362, allocations: 123.2 kB / 395 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00362, allocations: 3.938 kB / 395 MB, free: 15.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.003782, allocations: 4 kB / 395 MB, free: 15.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * 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 5.813e-05/0.00384, allocations: 91.25 kB / 395 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.317e-05/0.003893, allocations: 31.69 kB / 395.1 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.003894, allocations: 0 / 395.1 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.003907, allocations: 15.62 kB / 395.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.004027, allocations: 7.938 kB / 395.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.004264, allocations: 170.5 kB / 395.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.555e-05/0.00429, allocations: 51.36 kB / 395.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.004303, allocations: 7.984 kB / 395.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.004333, allocations: 66.2 kB / 395.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.004333, allocations: 0 / 395.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of Templates: time 0.001485/0.005818, allocations: 280 kB / 395.7 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.856043492909521]