Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.001405/0.001405, 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.433/1.433, allocations: 230.6 MB / 253.4 MB, free: 8.266 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.001618/0.001618, allocations: 209.6 kB / 310 MB, free: 3.129 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.04123/0.04123, allocations: 8.909 MB / 375.3 MB, free: 1.883 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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") [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.00259/0.00259, allocations: 87.88 kB / 0.4904 GB, free: 6.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.358, allocations: 55.59 MB / 0.5447 GB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003705/0.3618, allocations: 2.261 MB / 0.5469 GB, free: 25.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3628, allocations: 0.5444 MB / 0.5475 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3629, allocations: 7.156 kB / 0.5475 GB, free: 25.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.3631, allocations: 22.02 kB / 0.5475 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.549e-05/0.3632, allocations: 30.25 kB / 0.5475 GB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3634, allocations: 50.31 kB / 0.5476 GB, free: 25.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.3636, allocations: 157.7 kB / 0.5477 GB, free: 25.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3637, allocations: 54.09 kB / 0.5478 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.3638, allocations: 66.36 kB / 0.5478 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3639, allocations: 75.08 kB / 0.5479 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.364, allocations: 14.78 kB / 0.5479 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.933e-05/0.364, allocations: 15 kB / 0.5479 GB, free: 24.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.364, allocations: 28.73 kB / 0.548 GB, free: 24.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.3641, allocations: 74.95 kB / 0.548 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.3644, allocations: 166.5 kB / 0.5482 GB, free: 24.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3644, allocations: 0 / 0.5482 GB, free: 24.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3644, allocations: 0 / 0.5482 GB, free: 24.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3644, allocations: 0 / 0.5482 GB, free: 24.78 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006414/0.365, allocations: 393.5 kB / 0.5486 GB, free: 24.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3651, allocations: 11.97 kB / 0.5486 GB, free: 24.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.3651, allocations: 19.27 kB / 0.5486 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3654, allocations: 148.4 kB / 0.5487 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3654, allocations: 14.88 kB / 0.5487 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.3654, allocations: 14.97 kB / 0.5488 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3657, allocations: 171.7 kB / 0.5489 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3657, allocations: 0 / 0.5489 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.3658, allocations: 4 kB / 0.5489 GB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3658, allocations: 14.05 kB / 0.5489 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.366, allocations: 97.39 kB / 0.549 GB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.3668, allocations: 0.697 MB / 0.5497 GB, free: 23.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3669, allocations: 73.02 kB / 0.5498 GB, free: 23.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.367, allocations: 39.92 kB / 0.5498 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.367, allocations: 0 / 0.5498 GB, free: 23.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.367, allocations: 33.84 kB / 0.5499 GB, free: 23.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.367, allocations: 0 / 0.5499 GB, free: 23.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002621/0.3673, allocations: 100.8 kB / 0.5499 GB, free: 23.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.3673, allocations: 54.5 kB / 0.55 GB, free: 23.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3674, allocations: 162.6 kB / 0.5502 GB, free: 23.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.3674, allocations: 29.7 kB / 0.5502 GB, free: 23.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3675, allocations: 140.1 kB / 0.5503 GB, free: 23.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3675, allocations: 25.88 kB / 0.5503 GB, free: 23.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.3676, allocations: 29.91 kB / 0.5504 GB, free: 22.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.3676, allocations: 325.2 kB / 0.5507 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.3677, allocations: 23.86 kB / 0.5507 GB, free: 22.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.3677, allocations: 64.12 kB / 0.5508 GB, free: 22.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.3679, allocations: 90 kB / 0.5509 GB, free: 22.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3679, allocations: 3.25 kB / 0.5509 GB, free: 22.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001763/0.368, allocations: 134 kB / 0.551 GB, free: 22.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3681, allocations: 8.594 kB / 0.551 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3681, allocations: 0 / 0.551 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3681, allocations: 3.219 kB / 0.551 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.3682, allocations: 26.58 kB / 0.551 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3682, allocations: 3.094 kB / 0.551 GB, free: 22.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.3683, allocations: 15.02 kB / 0.551 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3683, allocations: 19.28 kB / 0.5511 GB, free: 22.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.209e-05/0.3684, allocations: 120 kB / 0.5512 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3684, allocations: 13.25 kB / 0.5512 GB, free: 22.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.3684, allocations: 11.84 kB / 0.5512 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3684, allocations: 0 / 0.5512 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3684, allocations: 3.938 kB / 0.5512 GB, free: 22.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3685, allocations: 3.938 kB / 0.5512 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3686, allocations: 193.8 kB / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3686, allocations: 0 / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.3687, allocations: 22.44 kB / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3687, allocations: 3.938 kB / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.3687, allocations: 0 / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3687, allocations: 3 kB / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3687, allocations: 0 / 0.5514 GB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.369, allocations: 213 kB / 0.5516 GB, free: 21.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.369, allocations: 7.234 kB / 0.5516 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.369, allocations: 14.77 kB / 0.5516 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.3691, allocations: 7.188 kB / 0.5516 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.3691, allocations: 10.31 kB / 0.5517 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3691, allocations: 0 / 0.5517 GB, free: 21.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.3692, allocations: 115.6 kB / 0.5518 GB, free: 21.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3692, allocations: 0 / 0.5518 GB, free: 21.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3694, allocations: 34.27 kB / 0.5518 GB, free: 21.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * 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 (7): * Single equations (assignments): 7 * 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.143e-05/0.3695, allocations: 95.84 kB / 0.5519 GB, free: 21.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.3697, allocations: 67.03 kB / 0.552 GB, free: 21.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3697, allocations: 0 / 0.552 GB, free: 21.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.3698, allocations: 30.97 kB / 0.552 GB, free: 21.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3701, allocations: 13.88 kB / 0.552 GB, free: 21.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.3708, allocations: 409.2 kB / 0.5524 GB, free: 21.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.371, allocations: 0.7211 MB / 0.5531 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.371, allocations: 14.09 kB / 0.5531 GB, free: 20.69 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.371, allocations: 0 / 0.5531 GB, free: 20.69 MB / 382.1 MB Notification: Performance of Templates: time 0.003269/0.3743, allocations: 1.516 MB / 0.5546 GB, free: 20.54 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.24456984992139] Failed to read output from testmodel.py, exit status != 0: 0.382794130127877 0.39433447099999996 0.027042542000000003 Calling exit ...