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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 120.3 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 245.5 MB, free: 14.13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 188.5 kB / 300.5 MB, free: 9.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0408/0.0408, allocations: 8.935 MB / 364.3 MB, free: 10.15 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00234/0.00234, allocations: 90.64 kB / 487.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08662, allocations: 54.41 MB / 0.5289 GB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002966/0.08958, allocations: 1.811 MB / 0.5307 GB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007171/0.0903, allocations: 471.7 kB / 0.5312 GB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.09038, allocations: 3.938 kB / 0.5312 GB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.09048, allocations: 15.86 kB / 0.5312 GB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-05/0.09055, allocations: 31.7 kB / 0.5312 GB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.09067, allocations: 31.95 kB / 0.5312 GB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.09085, allocations: 123.5 kB / 0.5314 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.09097, allocations: 41.02 kB / 0.5314 GB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.09103, allocations: 51.73 kB / 0.5314 GB, free: 14.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.09112, allocations: 47.78 kB / 0.5315 GB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.09114, allocations: 8 kB / 0.5315 GB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.09116, allocations: 12 kB / 0.5315 GB, free: 14.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.09119, allocations: 19.92 kB / 0.5315 GB, free: 14.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.328e-05/0.09128, allocations: 59.67 kB / 0.5316 GB, free: 14.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.09144, allocations: 119.5 kB / 0.5317 GB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.09144, allocations: 4 kB / 0.5317 GB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09144, allocations: 0 / 0.5317 GB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.09145, allocations: 0 / 0.5317 GB, free: 13.98 MB / 350.1 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.0005565/0.09201, allocations: 415 kB / 0.5321 GB, free: 13.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.09204, allocations: 8.031 kB / 0.5321 GB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.09208, allocations: 24.77 kB / 0.5321 GB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.09232, allocations: 188.3 kB / 0.5323 GB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.09233, allocations: 12.31 kB / 0.5323 GB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.09236, allocations: 12.38 kB / 0.5323 GB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.09257, allocations: 109.9 kB / 0.5324 GB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.09258, allocations: 0 / 0.5324 GB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.09259, allocations: 8 kB / 0.5324 GB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.0926, allocations: 0 / 0.5324 GB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.09271, allocations: 55.97 kB / 0.5325 GB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007727/0.09349, allocations: 0.4983 MB / 0.533 GB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.09359, allocations: 46.56 kB / 0.533 GB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.09362, allocations: 16.86 kB / 0.533 GB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.09363, allocations: 96 / 0.533 GB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.09365, allocations: 34.55 kB / 0.5331 GB, free: 12.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.09365, allocations: 4 kB / 0.5331 GB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001697/0.09382, allocations: 65.58 kB / 0.5331 GB, free: 12.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.09386, allocations: 51.41 kB / 0.5332 GB, free: 12.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.094, allocations: 144 kB / 0.5333 GB, free: 12.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.09402, allocations: 25.7 kB / 0.5334 GB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.09411, allocations: 124 kB / 0.5335 GB, free: 11.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.09412, allocations: 15.89 kB / 0.5335 GB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.09416, allocations: 21.72 kB / 0.5335 GB, free: 11.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.0943, allocations: 326.8 kB / 0.5338 GB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/0.09433, allocations: 12 kB / 0.5338 GB, free: 11.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/0.09439, allocations: 34.55 kB / 0.5339 GB, free: 11.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.09446, allocations: 46.52 kB / 0.5339 GB, free: 11.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.09446, allocations: 3.938 kB / 0.5339 GB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001214/0.09458, allocations: 85.58 kB / 0.534 GB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.09459, allocations: 4 kB / 0.534 GB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.0946, allocations: 0 / 0.534 GB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.09461, allocations: 4.188 kB / 0.534 GB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.09471, allocations: 20.05 kB / 0.534 GB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.09472, allocations: 4 kB / 0.534 GB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.09477, allocations: 11.89 kB / 0.534 GB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.09477, allocations: 0 / 0.534 GB, free: 11.33 MB / 350.1 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 8.633e-05/0.09486, allocations: 125.8 kB / 0.5342 GB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.09489, allocations: 15.88 kB / 0.5342 GB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.09492, allocations: 12.25 kB / 0.5342 GB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.09492, allocations: 0 / 0.5342 GB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.09492, allocations: 0 / 0.5342 GB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.09493, allocations: 0 / 0.5342 GB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.09515, allocations: 197.6 kB / 0.5344 GB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.09515, allocations: 0 / 0.5344 GB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.09521, allocations: 8 kB / 0.5344 GB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.09522, allocations: 3.984 kB / 0.5344 GB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.09523, allocations: 4 kB / 0.5344 GB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.09523, allocations: 4 kB / 0.5344 GB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.09523, allocations: 0 / 0.5344 GB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.09541, allocations: 167.4 kB / 0.5346 GB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.09545, allocations: 81.06 kB / 0.5346 GB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.09548, allocations: 8.016 kB / 0.5346 GB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.09557, allocations: 4 kB / 0.5346 GB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.09559, allocations: 4 kB / 0.5346 GB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.09559, allocations: 4.062 kB / 0.5347 GB, free: 10.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.09567, allocations: 105.8 kB / 0.5348 GB, free: 10.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09567, allocations: 0 / 0.5348 GB, free: 10.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.09591, allocations: 27.94 kB / 0.5348 GB, free: 10.48 MB / 350.1 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 9.127e-05/0.096, allocations: 95.23 kB / 0.5349 GB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.09612, allocations: 39.92 kB / 0.5349 GB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.09612, allocations: 0 / 0.5349 GB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.09614, allocations: 8.125 kB / 0.5349 GB, free: 10.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.09638, allocations: 15.94 kB / 0.5349 GB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.09694, allocations: 316.4 kB / 0.5352 GB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.09727, allocations: 0.6963 MB / 0.5359 GB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.0973, allocations: 15.38 kB / 0.5359 GB, free: 9.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0973, allocations: 4 kB / 0.5359 GB, free: 9.227 MB / 350.1 MB Notification: Performance of Templates: time 0.002743/0.1, allocations: 1.113 MB / 0.537 GB, free: 8.113 MB / 350.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.72435196605511] Failed to read output from testmodel.py, exit status != 0: 0.24059592210687697 0.119911188 0.025734263 Calling exit ...