Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.001067/0.001067, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002674, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.004/1.004, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1587/1.163, allocations: 53.63 MB / 241.9 MB, free: 2.758 MB / 234.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.00083/0.00083, allocations: 148.1 kB / 242.8 MB, free: 1.895 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001138/0.001968, allocations: 486.2 kB / 243.2 MB, free: 1.438 MB / 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.02433/0.02433, allocations: 6.66 MB / 250.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008589/0.03292, allocations: 2.658 MB / 253.3 MB, free: 7.582 MB / 250.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.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 254.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.734e-05, allocations: 4.562 kB / 254.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.003706/0.003734, allocations: 1.916 MB / 256.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004755, allocations: 490.6 kB / 256.9 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004856, allocations: 3.938 kB / 256.9 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.838e-05/0.004934, allocations: 23.84 kB / 257 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.005027, allocations: 31.7 kB / 257 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.005132, allocations: 23.91 kB / 257 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.005339, allocations: 131.3 kB / 257.2 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.005463, allocations: 25.95 kB / 257.2 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.00561, allocations: 87.8 kB / 257.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.343e-05/0.005703, allocations: 39.89 kB / 257.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.005732, allocations: 8 kB / 257.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.005803, allocations: 12 kB / 257.3 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.005832, allocations: 15.94 kB / 257.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.005886, allocations: 35.94 kB / 257.4 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.00608, allocations: 75.7 kB / 257.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.075e-05/0.006101, allocations: 3.984 kB / 257.5 MB, free: 3.395 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006103, allocations: 4 kB / 257.5 MB, free: 3.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.006125, allocations: 0 / 257.5 MB, free: 3.391 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004764/0.006601, allocations: 340.1 kB / 257.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.006634, allocations: 11.97 kB / 257.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.006675, allocations: 20.92 kB / 257.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.006822, allocations: 121.6 kB / 257.9 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.006836, allocations: 12.38 kB / 258 MB, free: 2.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.006857, allocations: 8.375 kB / 258 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.006983, allocations: 108.9 kB / 258.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006991, allocations: 192 / 258.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.007003, allocations: 4.375 kB / 258.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.007011, allocations: 7.938 kB / 258.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.007058, allocations: 33.44 kB / 258.1 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.00753, allocations: 342.3 kB / 258.4 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.007611, allocations: 38.48 kB / 258.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.00763, allocations: 16.86 kB / 258.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.007638, allocations: 0 / 258.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.007663, allocations: 30.56 kB / 258.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.007664, allocations: 4 kB / 258.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001164/0.007781, allocations: 49.72 kB / 258.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.007811, allocations: 55.34 kB / 258.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.00789, allocations: 130.7 kB / 258.8 MB, free: 1.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007903, allocations: 29.7 kB / 258.8 MB, free: 1.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.007955, allocations: 115.8 kB / 258.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.007971, allocations: 15.89 kB / 258.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.008001, allocations: 25.7 kB / 258.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.008093, allocations: 318.8 kB / 259.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.008105, allocations: 4 kB / 259.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.008128, allocations: 22.58 kB / 259.3 MB, free: 1.391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.008169, allocations: 50.52 kB / 259.3 MB, free: 1.332 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008171, allocations: 4 kB / 259.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.362e-05/0.008235, allocations: 61.61 kB / 259.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.008247, allocations: 4 kB / 259.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.008252, allocations: 4 kB / 259.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.008262, allocations: 3.938 kB / 259.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.00839, allocations: 19.98 kB / 259.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.008393, allocations: 4.062 kB / 259.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.008415, allocations: 11.89 kB / 259.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.008418, allocations: 3.938 kB / 259.4 MB, free: 1.211 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.263e-05/0.008471, allocations: 113.8 kB / 259.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.008486, allocations: 7.938 kB / 259.6 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.008507, allocations: 15.92 kB / 259.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.008508, allocations: 0 / 259.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00851, allocations: 0 / 259.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.008512, allocations: 0 / 259.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.611e-05/0.008598, allocations: 81.88 kB / 259.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008599, allocations: 0 / 259.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.008653, allocations: 19.98 kB / 259.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.008661, allocations: 3.953 kB / 259.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008663, allocations: 0 / 259.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.008669, allocations: 7.938 kB / 259.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.008669, allocations: 0 / 259.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.00867, allocations: 0 / 259.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.008771, allocations: 151.5 kB / 259.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.00878, allocations: 240 / 259.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.008823, allocations: 7.938 kB / 259.8 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.008836, allocations: 11.95 kB / 259.9 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.008842, allocations: 3.984 kB / 259.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.923e-05/0.008861, allocations: 24.61 kB / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008861, allocations: 0 / 259.9 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.008993, allocations: 23.89 kB / 259.9 MB, free: 0.707 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 7.888e-05/0.009072, allocations: 76.41 kB / 260 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.009142, allocations: 36.86 kB / 260 MB, free: 0.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.009149, allocations: 3.984 kB / 260 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.009161, allocations: 16.84 kB / 260 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.009297, allocations: 12.12 kB / 260.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.01043, allocations: 259.7 kB / 260.3 MB, free: 276 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.739e-05/0.01047, allocations: 67.33 kB / 260.4 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.061e-05/0.0105, allocations: 4 kB / 260.4 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.01056, allocations: 67.36 kB / 260.4 MB, free: 116 kB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01056, allocations: 0 / 260.4 MB, free: 116 kB / 250.7 MB Notification: Performance of Templates: time 0.002518/0.01307, allocations: 0.7454 MB / 261.2 MB, free: 15.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.580098574049771]