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.0008894/0.0008894, allocations: 93.06 kB / 19.65 MB, free: 280 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.9334/0.9334, allocations: 177.2 MB / 200 MB, free: 3.965 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.001271/0.001271, allocations: 168.2 kB / 256.6 MB, free: 160 kB / 234.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.0249/0.0249, allocations: 6.657 MB / 319.8 MB, free: 1.141 MB / 298.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.943e-06/1.943e-06, allocations: 0 / 391.6 MB, free: 58.25 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.558e-05, allocations: 9.906 kB / 391.6 MB, free: 58.25 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00106/0.001086, allocations: 0.5003 MB / 392.1 MB, free: 57.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.001218, allocations: 20.75 kB / 392.1 MB, free: 57.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.001242, allocations: 0 / 392.1 MB, free: 57.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.001264, allocations: 2.25 kB / 392.1 MB, free: 57.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.235e-05/0.001296, allocations: 0 / 392.1 MB, free: 57.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.001419, allocations: 7.922 kB / 392.2 MB, free: 57.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.469e-05/0.001474, allocations: 11.98 kB / 392.2 MB, free: 57.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.001518, allocations: 11.94 kB / 392.2 MB, free: 57.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.001552, allocations: 4 kB / 392.2 MB, free: 57.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.001606, allocations: 7.359 kB / 392.2 MB, free: 57.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.001623, allocations: 0 / 392.2 MB, free: 57.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.001631, allocations: 0 / 392.2 MB, free: 57.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.001646, allocations: 8 kB / 392.2 MB, free: 57.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.001663, allocations: 0 / 392.2 MB, free: 57.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.127e-05/0.001725, allocations: 15.91 kB / 392.2 MB, free: 57.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.001727, allocations: 0 / 392.2 MB, free: 57.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.001727, allocations: 0 / 392.2 MB, free: 57.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.001732, allocations: 0 / 392.2 MB, free: 57.68 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.0002614/0.001993, allocations: 349.5 kB / 392.6 MB, free: 57.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.002031, allocations: 11.98 kB / 392.6 MB, free: 57.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.002066, allocations: 9.234 kB / 392.6 MB, free: 57.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.493e-05/0.002131, allocations: 108.3 kB / 392.7 MB, free: 57.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.002144, allocations: 4.375 kB / 392.7 MB, free: 57.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.002171, allocations: 384 / 392.7 MB, free: 57.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.002247, allocations: 42.19 kB / 392.7 MB, free: 57.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.002253, allocations: 192 / 392.7 MB, free: 57.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.002262, allocations: 384 / 392.7 MB, free: 57.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.00227, allocations: 384 / 392.7 MB, free: 57.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.002295, allocations: 7.938 kB / 392.7 MB, free: 57.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.002415, allocations: 116.7 kB / 392.8 MB, free: 56.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.812e-05/0.002473, allocations: 43.05 kB / 392.9 MB, free: 56.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.002495, allocations: 19.77 kB / 392.9 MB, free: 56.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.002503, allocations: 4 kB / 392.9 MB, free: 56.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.002519, allocations: 37.33 kB / 392.9 MB, free: 56.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.00252, allocations: 0 / 392.9 MB, free: 56.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001272/0.002647, allocations: 45.69 kB / 393 MB, free: 56.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.002664, allocations: 51.41 kB / 393 MB, free: 56.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.639e-05/0.00271, allocations: 161.9 kB / 393.2 MB, free: 56.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-06/0.002715, allocations: 25.7 kB / 393.2 MB, free: 56.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.039e-05/0.002735, allocations: 130.9 kB / 393.4 MB, free: 56.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.002761, allocations: 19.83 kB / 393.4 MB, free: 56.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.002784, allocations: 23.38 kB / 393.4 MB, free: 56.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.002824, allocations: 496.1 kB / 393.9 MB, free: 55.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.002837, allocations: 4 kB / 393.9 MB, free: 55.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.002847, allocations: 11.92 kB / 393.9 MB, free: 55.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.002876, allocations: 15.69 kB / 393.9 MB, free: 55.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.002878, allocations: 4 kB / 393.9 MB, free: 55.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.871e-05/0.002927, allocations: 49.69 kB / 394 MB, free: 55.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.002939, allocations: 4 kB / 394 MB, free: 55.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.002944, allocations: 3.938 kB / 394 MB, free: 55.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.00296, allocations: 0 / 394 MB, free: 55.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.003049, allocations: 12 kB / 394 MB, free: 55.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.003054, allocations: 0 / 394 MB, free: 55.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.196e-05/0.003066, allocations: 3.938 kB / 394 MB, free: 55.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.00307, allocations: 4 kB / 394 MB, free: 55.7 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 3.711e-05/0.003108, allocations: 160.5 kB / 394.1 MB, free: 55.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.003114, allocations: 7.953 kB / 394.2 MB, free: 55.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.003137, allocations: 7.688 kB / 394.2 MB, free: 55.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.003139, allocations: 0 / 394.2 MB, free: 55.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.003143, allocations: 0 / 394.2 MB, free: 55.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.003146, allocations: 3.938 kB / 394.2 MB, free: 55.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.242e-05/0.003188, allocations: 112.6 kB / 394.3 MB, free: 55.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003189, allocations: 4 kB / 394.3 MB, free: 55.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.003232, allocations: 11.98 kB / 394.3 MB, free: 55.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.003234, allocations: 0.5156 kB / 394.3 MB, free: 55.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.003246, allocations: 0 / 394.3 MB, free: 55.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003247, allocations: 0 / 394.3 MB, free: 55.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.003247, allocations: 4 kB / 394.3 MB, free: 55.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.003367, allocations: 92.3 kB / 394.4 MB, free: 55.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.003373, allocations: 0 / 394.4 MB, free: 55.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.003384, allocations: 3.984 kB / 394.4 MB, free: 55.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-06/0.003392, allocations: 0 / 394.4 MB, free: 55.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.003407, allocations: 8.031 kB / 394.4 MB, free: 55.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.003409, allocations: 0 / 394.4 MB, free: 55.21 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.673e-05/0.003426, allocations: 123.2 kB / 394.5 MB, free: 55.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003426, allocations: 4 kB / 394.5 MB, free: 55.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.003541, allocations: 3.938 kB / 394.5 MB, free: 55.09 MB / 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 5.304e-05/0.003594, allocations: 91.25 kB / 394.6 MB, free: 54.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.477e-05/0.003668, allocations: 27.67 kB / 394.6 MB, free: 54.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00367, allocations: 0 / 394.6 MB, free: 54.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.00368, allocations: 19.61 kB / 394.7 MB, free: 54.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.003786, allocations: 4 kB / 394.7 MB, free: 54.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002028/0.003988, allocations: 110.4 kB / 394.8 MB, free: 54.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.999e-05/0.004008, allocations: 59.22 kB / 394.8 MB, free: 54.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.699e-05/0.004025, allocations: 3.938 kB / 394.8 MB, free: 54.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.004047, allocations: 8.5 kB / 394.8 MB, free: 54.7 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004048, allocations: 0 / 394.8 MB, free: 54.7 MB / 314.7 MB Notification: Performance of Templates: time 0.001712/0.00576, allocations: 266.4 kB / 395.1 MB, free: 54.45 MB / 314.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: 3.0250145299360156]