Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001477/0.001477, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.547/1.547, allocations: 230.6 MB / 252.6 MB, free: 8.297 MB / 206.1 MB " [Timeout remaining time 178] 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.002876/0.002876, allocations: 217.2 kB / 309.2 MB, free: 3.133 MB / 238.1 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.04397/0.04397, allocations: 8.918 MB / 374.6 MB, free: 1.887 MB / 302.1 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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 87.86 kB / 0.4897 GB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3352, allocations: 55.6 MB / 0.544 GB, free: 27.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002562/0.3377, allocations: 1.855 MB / 0.5458 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.3385, allocations: 0.489 MB / 0.5463 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.3386, allocations: 7 kB / 0.5463 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3387, allocations: 21.86 kB / 0.5463 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.3388, allocations: 34.23 kB / 0.5463 GB, free: 25.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.3389, allocations: 25.97 kB / 0.5463 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3391, allocations: 116.5 kB / 0.5465 GB, free: 25.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3392, allocations: 39.89 kB / 0.5465 GB, free: 25.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.3393, allocations: 49.39 kB / 0.5465 GB, free: 25.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.24e-05/0.3394, allocations: 49.8 kB / 0.5466 GB, free: 25.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3394, allocations: 12.03 kB / 0.5466 GB, free: 25.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.3394, allocations: 13.22 kB / 0.5466 GB, free: 25.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.3394, allocations: 22.38 kB / 0.5466 GB, free: 25.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.3395, allocations: 57.17 kB / 0.5467 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.3396, allocations: 126.4 kB / 0.5468 GB, free: 25.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3396, allocations: 0 / 0.5468 GB, free: 25.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3396, allocations: 0 / 0.5468 GB, free: 25.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3396, allocations: 0 / 0.5468 GB, free: 25.11 MB / 382.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.0004357/0.3401, allocations: 334 kB / 0.5471 GB, free: 24.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3401, allocations: 12.78 kB / 0.5471 GB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.3401, allocations: 15.36 kB / 0.5472 GB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3403, allocations: 135.8 kB / 0.5473 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.3404, allocations: 10.78 kB / 0.5473 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3404, allocations: 10.72 kB / 0.5473 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.3405, allocations: 103.1 kB / 0.5474 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3406, allocations: 3.938 kB / 0.5474 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3406, allocations: 4 kB / 0.5474 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3406, allocations: 3.219 kB / 0.5474 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.3407, allocations: 59.17 kB / 0.5475 GB, free: 24.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006435/0.3413, allocations: 473 kB / 0.5479 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.3414, allocations: 49.97 kB / 0.548 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.3414, allocations: 18.2 kB / 0.548 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.3414, allocations: 4 kB / 0.548 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3415, allocations: 33.89 kB / 0.548 GB, free: 24.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3415, allocations: 0 / 0.548 GB, free: 24.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001715/0.3416, allocations: 63.48 kB / 0.5481 GB, free: 24.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.3417, allocations: 59.34 kB / 0.5481 GB, free: 23.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.3418, allocations: 140.7 kB / 0.5483 GB, free: 23.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.3418, allocations: 29.08 kB / 0.5483 GB, free: 23.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.3418, allocations: 121.8 kB / 0.5484 GB, free: 23.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.3418, allocations: 11.25 kB / 0.5484 GB, free: 23.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3419, allocations: 23.42 kB / 0.5484 GB, free: 23.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.3419, allocations: 322.1 kB / 0.5488 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.3419, allocations: 10.31 kB / 0.5488 GB, free: 23.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.342, allocations: 39.42 kB / 0.5488 GB, free: 23.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.426e-05/0.342, allocations: 50.52 kB / 0.5488 GB, free: 23.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.342, allocations: 0 / 0.5488 GB, free: 23.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.541e-05/0.3421, allocations: 81.38 kB / 0.5489 GB, free: 23.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3421, allocations: 6.062 kB / 0.5489 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3422, allocations: 7.25 kB / 0.5489 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3422, allocations: 3.938 kB / 0.5489 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.3423, allocations: 12.72 kB / 0.549 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3423, allocations: 64 / 0.549 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3423, allocations: 19.14 kB / 0.549 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3423, allocations: 9.891 kB / 0.549 GB, free: 23.2 MB / 382.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 6.203e-05/0.3424, allocations: 118.9 kB / 0.5491 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.3424, allocations: 7.109 kB / 0.5491 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.3424, allocations: 11.66 kB / 0.5491 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3424, allocations: 0 / 0.5491 GB, free: 23.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3424, allocations: 3.938 kB / 0.5491 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3424, allocations: 3.516 kB / 0.5491 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3426, allocations: 163.8 kB / 0.5493 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3426, allocations: 4 kB / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.3426, allocations: 13.53 kB / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3426, allocations: 0 / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3427, allocations: 0 / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3427, allocations: 0 / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3427, allocations: 3.328 kB / 0.5493 GB, free: 22.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.3428, allocations: 163.9 kB / 0.5495 GB, free: 22.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.3428, allocations: 14.52 kB / 0.5495 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3428, allocations: 4.062 kB / 0.5495 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.3429, allocations: 3.156 kB / 0.5495 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.3429, allocations: 3.219 kB / 0.5495 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.3429, allocations: 0 / 0.5495 GB, free: 22.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.13e-05/0.343, allocations: 114.7 kB / 0.5496 GB, free: 22.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.343, allocations: 0 / 0.5496 GB, free: 22.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3432, allocations: 27.05 kB / 0.5496 GB, free: 22.62 MB / 382.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 6.497e-05/0.3433, allocations: 96.16 kB / 0.5497 GB, free: 22.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.3434, allocations: 27.75 kB / 0.5497 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3434, allocations: 3.219 kB / 0.5497 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.3434, allocations: 17.69 kB / 0.5498 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.3437, allocations: 14.2 kB / 0.5498 GB, free: 22.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.3442, allocations: 277.5 kB / 0.55 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3443, allocations: 0.6974 MB / 0.5507 GB, free: 21.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.3443, allocations: 11.47 kB / 0.5507 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.3443, allocations: 14.69 kB / 0.5507 GB, free: 21.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3443, allocations: 0 / 0.5507 GB, free: 21.58 MB / 382.1 MB Notification: Performance of Templates: time 0.003101/0.3474, allocations: 0.7616 MB / 0.5515 GB, free: 21.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.012701187981293] Failed to read output from testmodel.py, exit status != 0: 0.3551246791612357 0.36542662000000004 0.023071043000000003 Calling exit ...