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.001331/0.001331, allocations: 93.06 kB / 19.65 MB, free: 276 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 0.9712/0.9712, allocations: 177.2 MB / 200 MB, free: 5.824 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.001294/0.001294, allocations: 180.6 kB / 256.6 MB, free: 13.12 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.02391/0.02391, allocations: 6.669 MB / 319.8 MB, free: 26.48 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.363e-06/1.363e-06, allocations: 0 / 391.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.667e-05, allocations: 2.312 kB / 391.6 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001157/0.001183, allocations: 0.5011 MB / 392.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.001326, allocations: 23.89 kB / 392.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.00135, allocations: 0 / 392.2 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.001371, allocations: 3.938 kB / 392.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.259e-05/0.001404, allocations: 0 / 392.2 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.001529, allocations: 11.94 kB / 392.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.001587, allocations: 7.938 kB / 392.2 MB, free: 2.012 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.001628, allocations: 3.984 kB / 392.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.001667, allocations: 4 kB / 392.2 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.001722, allocations: 4 kB / 392.2 MB, free: 2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.001744, allocations: 4 kB / 392.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.001753, allocations: 0 / 392.2 MB, free: 1.996 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.00177, allocations: 4 kB / 392.2 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.001792, allocations: 7.969 kB / 392.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.388e-05/0.001856, allocations: 7.938 kB / 392.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.001858, allocations: 0 / 392.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.001859, allocations: 0 / 392.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.001863, allocations: 0 / 392.2 MB, free: 1.977 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.0003315/0.002195, allocations: 352.7 kB / 392.6 MB, free: 1.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.002239, allocations: 12.03 kB / 392.6 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.002277, allocations: 12.88 kB / 392.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.002363, allocations: 112.6 kB / 392.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.002373, allocations: 384 / 392.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.002394, allocations: 384 / 392.7 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.829e-05/0.002472, allocations: 34.27 kB / 392.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.002479, allocations: 192 / 392.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.002487, allocations: 384 / 392.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.002494, allocations: 4.375 kB / 392.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.002518, allocations: 11.92 kB / 392.7 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.002649, allocations: 112.6 kB / 392.8 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.002718, allocations: 43.03 kB / 392.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.002743, allocations: 19.69 kB / 392.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.00275, allocations: 0 / 392.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.002772, allocations: 33.39 kB / 392.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.002772, allocations: 0 / 392.9 MB, free: 1.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001347/0.002907, allocations: 53.86 kB / 393 MB, free: 1.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.002936, allocations: 55.41 kB / 393.1 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.003014, allocations: 169.8 kB / 393.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.003024, allocations: 25.7 kB / 393.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.003072, allocations: 126.9 kB / 393.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.003099, allocations: 7.953 kB / 393.4 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.003126, allocations: 23.38 kB / 393.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.003253, allocations: 0.4923 MB / 393.9 MB, free: 104 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.003267, allocations: 0 / 393.9 MB, free: 104 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-06/0.003275, allocations: 4 kB / 393.9 MB, free: 100 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.003312, allocations: 23.67 kB / 393.9 MB, free: 72 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.003314, allocations: 0 / 393.9 MB, free: 72 kB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.575e-05/0.00337, allocations: 49.58 kB / 394 MB, free: 16 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.003383, allocations: 4 kB / 394 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.003389, allocations: 0 / 394 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.003404, allocations: 4 kB / 394 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.003502, allocations: 7.984 kB / 394 MB, free: 0 / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.003508, allocations: 8.375 kB / 394 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.003522, allocations: 11.83 kB / 394 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.003527, allocations: 3.984 kB / 394 MB, free: 15.97 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 6.34e-05/0.003591, allocations: 152.6 kB / 394.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.003597, allocations: 4 kB / 394.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.003618, allocations: 7.688 kB / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.00362, allocations: 0 / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.003624, allocations: 0 / 394.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.003629, allocations: 7.922 kB / 394.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.086e-05/0.003689, allocations: 112.6 kB / 394.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.003691, allocations: 8 kB / 394.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.003738, allocations: 4 kB / 394.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.00374, allocations: 4 kB / 394.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.003754, allocations: 3.984 kB / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.003757, allocations: 3.938 kB / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.003759, allocations: 4 kB / 394.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.003876, allocations: 84.38 kB / 394.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.003884, allocations: 3.953 kB / 394.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.003895, allocations: 4 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.003901, allocations: 0 / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.003918, allocations: 3.984 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-06/0.00392, allocations: 4.031 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.003961, allocations: 131.2 kB / 394.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003961, allocations: 0 / 394.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001121/0.004073, allocations: 7.938 kB / 394.5 MB, free: 15.36 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 7.083e-05/0.004144, allocations: 87.25 kB / 394.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.394e-05/0.004228, allocations: 31.61 kB / 394.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.00423, allocations: 0 / 394.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.004241, allocations: 11.69 kB / 394.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.004345, allocations: 7.938 kB / 394.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.004554, allocations: 118.3 kB / 394.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.00459, allocations: 63.28 kB / 394.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.402e-05/0.004605, allocations: 0 / 394.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.004627, allocations: 12.5 kB / 394.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.004627, allocations: 0 / 394.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of Templates: time 0.001625/0.006252, allocations: 258.6 kB / 395.1 MB, free: 14.72 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.924896945245564]