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.0009779/0.0009779, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.074/1.074, allocations: 177.2 MB / 200.3 MB, free: 5.391 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.00191/0.00191, allocations: 167.3 kB / 256.9 MB, free: 12.83 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.02401/0.02401, allocations: 6.652 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.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.703e-06/1.703e-06, allocations: 0 / 392.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.844e-05, allocations: 9.766 kB / 392.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00104/0.001068, allocations: 0.5127 MB / 392.6 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.001185, allocations: 23.89 kB / 392.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.001209, allocations: 0 / 392.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.001224, allocations: 0 / 392.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.001253, allocations: 3.938 kB / 392.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.001354, allocations: 11.88 kB / 392.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.763e-05/0.001402, allocations: 11.98 kB / 392.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.001436, allocations: 0 / 392.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.001469, allocations: 4 kB / 392.6 MB, free: 1.723 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.001523, allocations: 15.91 kB / 392.6 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.001537, allocations: 4 kB / 392.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.001543, allocations: 0 / 392.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.00156, allocations: 4 kB / 392.7 MB, free: 1.699 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.001575, allocations: 0 / 392.7 MB, free: 1.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 4.861e-05/0.001623, allocations: 7.984 kB / 392.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.001625, allocations: 0 / 392.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.001626, allocations: 0 / 392.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.001629, allocations: 0 / 392.7 MB, free: 1.691 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.0002638/0.001893, allocations: 348.7 kB / 393 MB, free: 1.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.00193, allocations: 16.02 kB / 393 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.001959, allocations: 8.938 kB / 393 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.002027, allocations: 108.6 kB / 393.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002037, allocations: 384 / 393.1 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.002052, allocations: 4.375 kB / 393.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/0.002113, allocations: 34.19 kB / 393.2 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-06/0.002118, allocations: 192 / 393.2 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.002123, allocations: 8.312 kB / 393.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.002128, allocations: 384 / 393.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.7e-05/0.002145, allocations: 11.92 kB / 393.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.002245, allocations: 97.27 kB / 393.3 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.903e-05/0.002294, allocations: 35.09 kB / 393.3 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.002312, allocations: 19.69 kB / 393.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.002318, allocations: 0 / 393.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.00234, allocations: 45.41 kB / 393.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.002341, allocations: 0 / 393.4 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 9.368e-05/0.002434, allocations: 41.66 kB / 393.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.002459, allocations: 55.39 kB / 393.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.002521, allocations: 161.9 kB / 393.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.00253, allocations: 25.7 kB / 393.7 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.002561, allocations: 126.9 kB / 393.8 MB, free: 408 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.002583, allocations: 7.953 kB / 393.8 MB, free: 400 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.00261, allocations: 31.34 kB / 393.8 MB, free: 360 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.002732, allocations: 0.4883 MB / 394.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.002741, allocations: 0 / 394.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.002751, allocations: 7.938 kB / 394.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.00278, allocations: 19.67 kB / 394.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.002781, allocations: 0 / 394.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.977e-05/0.002831, allocations: 41.7 kB / 394.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.002843, allocations: 7.984 kB / 394.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.002847, allocations: 0 / 394.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.002857, allocations: 0 / 394.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.00294, allocations: 12 kB / 394.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.002943, allocations: 4 kB / 394.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.002957, allocations: 7.891 kB / 394.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.002963, allocations: 7.938 kB / 394.4 MB, free: 15.73 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.193e-05/0.003025, allocations: 156.5 kB / 394.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-06/0.00303, allocations: 0 / 394.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.003047, allocations: 11.69 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.003049, allocations: 3.984 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003051, allocations: 0 / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.003054, allocations: 0.5156 kB / 394.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.037e-05/0.003114, allocations: 101.2 kB / 394.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.003115, allocations: 7.938 kB / 394.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.003151, allocations: 8 kB / 394.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.003152, allocations: 0 / 394.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.00316, allocations: 3.984 kB / 394.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.003161, allocations: 0 / 394.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.003161, allocations: 0 / 394.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.685e-05/0.003248, allocations: 92.3 kB / 394.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.003256, allocations: 7.953 kB / 394.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.003263, allocations: 0 / 394.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-06/0.00327, allocations: 4 kB / 394.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-06/0.003279, allocations: 4.031 kB / 394.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.003282, allocations: 3.984 kB / 394.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.003312, allocations: 123.2 kB / 394.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003312, allocations: 0 / 394.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001121/0.003424, allocations: 4 kB / 394.9 MB, free: 15.15 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 6.454e-05/0.003488, allocations: 91.25 kB / 395 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.429e-05/0.003543, allocations: 19.67 kB / 395 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.003545, allocations: 0 / 395 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.003557, allocations: 15.62 kB / 395.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.003658, allocations: 18.75 kB / 395.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.003842, allocations: 114.3 kB / 395.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.053e-05/0.003873, allocations: 59.34 kB / 395.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.664e-05/0.003889, allocations: 0 / 395.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.003924, allocations: 70.2 kB / 395.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.003925, allocations: 0 / 395.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Templates: time 0.001521/0.005447, allocations: 280.9 kB / 395.6 MB, free: 14.43 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: 3.0104295248165727]