Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001681/0.001681, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.636/1.636, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 178] 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.001944/0.001944, allocations: 164.5 kB / 256.3 MB, free: 13.18 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.05965/0.05965, allocations: 6.657 MB / 319.4 MB, free: 26.59 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.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 390.9 MB, free: 3.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.456e-05, allocations: 6.312 kB / 390.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001807/0.001841, allocations: 0.5047 MB / 391.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001852/0.002026, allocations: 23.89 kB / 391.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.002055, allocations: 0 / 391.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.00207, allocations: 4 kB / 391.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.538e-05/0.002115, allocations: 3.938 kB / 391.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.002247, allocations: 0 / 391.4 MB, free: 2.473 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.374e-05/0.002321, allocations: 15.92 kB / 391.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.002372, allocations: 0 / 391.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.002421, allocations: 8 kB / 391.4 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.002488, allocations: 3.984 kB / 391.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.002506, allocations: 0 / 391.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-06/0.002515, allocations: 0 / 391.4 MB, free: 2.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.002533, allocations: 7.984 kB / 391.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.002559, allocations: 7.938 kB / 391.5 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.883e-05/0.002628, allocations: 7.938 kB / 391.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.002635, allocations: 3.984 kB / 391.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.002637, allocations: 0 / 391.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.002643, allocations: 0 / 391.5 MB, free: 2.418 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.000474/0.003117, allocations: 242.4 kB / 391.7 MB, free: 2.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.003165, allocations: 8.031 kB / 391.7 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.003216, allocations: 8.891 kB / 391.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.003354, allocations: 105.8 kB / 391.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.003373, allocations: 8.375 kB / 391.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.003401, allocations: 384 / 391.8 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003517, allocations: 38.2 kB / 391.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-06/0.003525, allocations: 192 / 391.9 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.003539, allocations: 4.359 kB / 391.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.003545, allocations: 384 / 391.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.205e-05/0.003597, allocations: 19.94 kB / 391.9 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.003808, allocations: 101.3 kB / 392 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.003909, allocations: 34.61 kB / 392 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.00395, allocations: 16.78 kB / 392.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.003965, allocations: 0 / 392.1 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.00401, allocations: 38.66 kB / 392.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.004011, allocations: 4 kB / 392.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002075/0.004218, allocations: 45.69 kB / 392.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.004273, allocations: 55.39 kB / 392.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.00438, allocations: 97.8 kB / 392.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.004405, allocations: 29.7 kB / 392.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.004473, allocations: 84.14 kB / 392.4 MB, free: 1.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.004506, allocations: 11.84 kB / 392.4 MB, free: 1.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.004553, allocations: 21.7 kB / 392.4 MB, free: 1.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.004758, allocations: 310.8 kB / 392.7 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.004779, allocations: 11.94 kB / 392.7 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.004792, allocations: 8 kB / 392.8 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.004848, allocations: 20.84 kB / 392.8 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.004851, allocations: 0 / 392.8 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.79e-05/0.004939, allocations: 41.7 kB / 392.8 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.004958, allocations: 8 kB / 392.8 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.004966, allocations: 3.984 kB / 392.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.004989, allocations: 0 / 392.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.005111, allocations: 11.94 kB / 392.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.005118, allocations: 0 / 392.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.005143, allocations: 11.89 kB / 392.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.005147, allocations: 0 / 392.9 MB, free: 0.8672 MB / 314.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 0.0001043/0.005252, allocations: 113.8 kB / 393 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.005261, allocations: 0 / 393 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.005297, allocations: 11.69 kB / 393 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.005302, allocations: 3.984 kB / 393 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.005308, allocations: 0 / 393 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.005314, allocations: 3.938 kB / 393 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.00544, allocations: 101.3 kB / 393.1 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005441, allocations: 0 / 393.1 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.00552, allocations: 11.98 kB / 393.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005523, allocations: 0 / 393.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.005532, allocations: 4 kB / 393.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005533, allocations: 0 / 393.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005534, allocations: 0 / 393.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.005714, allocations: 85.55 kB / 393.2 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.005727, allocations: 7.891 kB / 393.2 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.005744, allocations: 4.031 kB / 393.2 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.005764, allocations: 4 kB / 393.2 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.00579, allocations: 8.016 kB / 393.2 MB, free: 464 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.005795, allocations: 4 kB / 393.2 MB, free: 460 kB / 314.7 MB Notification: Performance of sorting global known variables: time 5.947e-05/0.005854, allocations: 79.28 kB / 393.3 MB, free: 380 kB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005854, allocations: 0 / 393.3 MB, free: 380 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.006059, allocations: 15.94 kB / 393.3 MB, free: 364 kB / 314.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 0.0001279/0.006187, allocations: 91.25 kB / 393.4 MB, free: 264 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.835e-05/0.006285, allocations: 15.98 kB / 393.4 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.006287, allocations: 0 / 393.4 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.006305, allocations: 7.938 kB / 393.4 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.006476, allocations: 8 kB / 393.4 MB, free: 232 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.006813, allocations: 112.6 kB / 393.5 MB, free: 92 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.953e-05/0.006883, allocations: 59.34 kB / 393.6 MB, free: 12 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.006909, allocations: 8 kB / 393.6 MB, free: 4 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.006964, allocations: 8.5 kB / 393.6 MB, free: 16 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.006965, allocations: 0 / 393.6 MB, free: 16 MB / 330.7 MB Notification: Performance of Templates: time 0.002896/0.009861, allocations: 250.6 kB / 393.8 MB, free: 15.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.337466915952973]