Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001828/0.001828, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.508/1.508, allocations: 230.6 MB / 253.4 MB, free: 8.277 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.002185/0.002185, allocations: 210.8 kB / 310 MB, free: 3.117 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.0404/0.0404, allocations: 8.92 MB / 375.3 MB, free: 1.863 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.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") translateModel(HanserModelica.FirstSteps.Electrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical2") [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.002784/0.002784, allocations: 79.88 kB / 0.4904 GB, free: 6.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.354, allocations: 55.6 MB / 0.5447 GB, free: 27.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001866/0.3559, allocations: 0.5061 MB / 0.5452 GB, free: 26.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001608/0.3561, allocations: 22.53 kB / 0.5452 GB, free: 26.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.3561, allocations: 0 / 0.5452 GB, free: 26.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.3561, allocations: 0 / 0.5452 GB, free: 26.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.508e-05/0.3562, allocations: 7.094 kB / 0.5452 GB, free: 26.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3563, allocations: 3.375 kB / 0.5452 GB, free: 26.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.731e-05/0.3564, allocations: 18.38 kB / 0.5453 GB, free: 26.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.3564, allocations: 10.41 kB / 0.5453 GB, free: 26.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.254e-05/0.3564, allocations: 6.875 kB / 0.5453 GB, free: 26.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.3565, allocations: 7.141 kB / 0.5453 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3565, allocations: 0 / 0.5453 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.3565, allocations: 0 / 0.5453 GB, free: 26.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.3565, allocations: 7.938 kB / 0.5453 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.3566, allocations: 6.75 kB / 0.5453 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.171e-05/0.3566, allocations: 13.05 kB / 0.5453 GB, free: 26.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3566, allocations: 0 / 0.5453 GB, free: 26.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3566, allocations: 0 / 0.5453 GB, free: 26.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3566, allocations: 0 / 0.5453 GB, free: 26.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003258/0.357, allocations: 251.3 kB / 0.5456 GB, free: 26.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.357, allocations: 9.531 kB / 0.5456 GB, free: 26.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.3571, allocations: 4.891 kB / 0.5456 GB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.3571, allocations: 109.3 kB / 0.5457 GB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3572, allocations: 384 / 0.5457 GB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.3572, allocations: 7.594 kB / 0.5457 GB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.362e-05/0.3573, allocations: 33.33 kB / 0.5457 GB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3573, allocations: 192 / 0.5457 GB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3573, allocations: 3.938 kB / 0.5457 GB, free: 26.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3573, allocations: 4 kB / 0.5457 GB, free: 26.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.3573, allocations: 13.83 kB / 0.5457 GB, free: 26.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.3575, allocations: 123.5 kB / 0.5458 GB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.3575, allocations: 39 kB / 0.5459 GB, free: 26.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.519e-05/0.3576, allocations: 8.047 kB / 0.5459 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3576, allocations: 3.125 kB / 0.5459 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.3576, allocations: 38.56 kB / 0.5459 GB, free: 26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3576, allocations: 0 / 0.5459 GB, free: 26 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001437/0.3577, allocations: 49.78 kB / 0.546 GB, free: 25.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3578, allocations: 51.41 kB / 0.546 GB, free: 25.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.3578, allocations: 100.8 kB / 0.5461 GB, free: 25.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3578, allocations: 36.83 kB / 0.5462 GB, free: 25.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.3579, allocations: 80.14 kB / 0.5462 GB, free: 25.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.3579, allocations: 11.84 kB / 0.5462 GB, free: 25.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.3579, allocations: 28.52 kB / 0.5463 GB, free: 25.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.358, allocations: 314 kB / 0.5466 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.358, allocations: 3.031 kB / 0.5466 GB, free: 25.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.358, allocations: 7.344 kB / 0.5466 GB, free: 25.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.358, allocations: 18.81 kB / 0.5466 GB, free: 25.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.358, allocations: 0 / 0.5466 GB, free: 25.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.387e-05/0.3581, allocations: 45.98 kB / 0.5466 GB, free: 25.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3581, allocations: 10.5 kB / 0.5467 GB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3581, allocations: 3.938 kB / 0.5467 GB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3581, allocations: 4 kB / 0.5467 GB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.3582, allocations: 10.62 kB / 0.5467 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3582, allocations: 3.125 kB / 0.5467 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.3583, allocations: 0 / 0.5467 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.3583, allocations: 0 / 0.5467 GB, free: 25.25 MB / 382.1 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 5.275e-05/0.3583, allocations: 116.7 kB / 0.5468 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.3583, allocations: 3.953 kB / 0.5468 GB, free: 25.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.3583, allocations: 11.62 kB / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3583, allocations: 0 / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3583, allocations: 7.25 kB / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3583, allocations: 0 / 0.5468 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.859e-05/0.3584, allocations: 127.6 kB / 0.5469 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3584, allocations: 0 / 0.5469 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.3585, allocations: 13.09 kB / 0.5469 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3585, allocations: 0 / 0.5469 GB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3585, allocations: 3.938 kB / 0.5469 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3585, allocations: 0 / 0.5469 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3585, allocations: 0 / 0.5469 GB, free: 24.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.3586, allocations: 80.69 kB / 0.547 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.3586, allocations: 3.375 kB / 0.547 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3586, allocations: 7.547 kB / 0.547 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.766e-05/0.3587, allocations: 4 kB / 0.547 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.3587, allocations: 0 / 0.547 GB, free: 24.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3587, allocations: 3.062 kB / 0.547 GB, free: 24.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.137e-05/0.3587, allocations: 79.22 kB / 0.5471 GB, free: 24.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3587, allocations: 3.125 kB / 0.5471 GB, free: 24.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.3589, allocations: 3.031 kB / 0.5471 GB, free: 24.79 MB / 382.1 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.548e-05/0.359, allocations: 96.23 kB / 0.5472 GB, free: 24.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.769e-05/0.359, allocations: 17.36 kB / 0.5472 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.359, allocations: 0 / 0.5472 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.3591, allocations: 10.59 kB / 0.5472 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3592, allocations: 11.12 kB / 0.5473 GB, free: 24.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3596, allocations: 216.9 kB / 0.5475 GB, free: 24.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3597, allocations: 0.6758 MB / 0.5481 GB, free: 23.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.3597, allocations: 10.38 kB / 0.5481 GB, free: 23.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3597, allocations: 0 / 0.5481 GB, free: 23.77 MB / 382.1 MB Notification: Performance of Templates: time 0.001884/0.3616, allocations: 490.9 kB / 0.5486 GB, free: 23.75 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical2.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.411222113063559] Failed to read output from testmodel.py, exit status != 0: 0.3702722401358187 0.381872947 0.022508949 Calling exit ...