Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.001287/0.001287, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.472/1.472, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.002568/0.002568, allocations: 212.7 kB / 309.2 MB, free: 3.191 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.04343/0.04343, allocations: 8.919 MB / 374.6 MB, free: 1.941 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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") [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.002683/0.002683, allocations: 83.88 kB / 0.4897 GB, free: 6.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3406, allocations: 55.61 MB / 0.544 GB, free: 27.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.00221/0.3428, allocations: 1.284 MB / 0.5452 GB, free: 26.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 5.601e-05/0.3429, allocations: 11.14 kB / 0.5452 GB, free: 26.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.3429, allocations: 0 / 0.5452 GB, free: 26.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/0.343, allocations: 0 / 0.5452 GB, free: 26.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.3431, allocations: 7.031 kB / 0.5452 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.779e-05/0.3431, allocations: 0 / 0.5452 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.3431, allocations: 7.031 kB / 0.5453 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.3432, allocations: 3.094 kB / 0.5453 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.3433, allocations: 7.062 kB / 0.5453 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.3433, allocations: 0 / 0.5453 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3433, allocations: 0 / 0.5453 GB, free: 26.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-06/0.3433, allocations: 4 kB / 0.5453 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.3433, allocations: 10.7 kB / 0.5453 GB, free: 26.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.3434, allocations: 7.938 kB / 0.5453 GB, free: 26.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.56e-05/0.3434, allocations: 9.719 kB / 0.5453 GB, free: 26.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3434, allocations: 3.938 kB / 0.5453 GB, free: 26.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3434, allocations: 0 / 0.5453 GB, free: 26.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3434, allocations: 0 / 0.5453 GB, free: 26.13 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003345/0.3438, allocations: 243.3 kB / 0.5455 GB, free: 25.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3438, allocations: 9.219 kB / 0.5455 GB, free: 25.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3438, allocations: 11.89 kB / 0.5455 GB, free: 25.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.344, allocations: 105.9 kB / 0.5456 GB, free: 25.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.344, allocations: 7.281 kB / 0.5457 GB, free: 25.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.344, allocations: 384 / 0.5457 GB, free: 25.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.3441, allocations: 43.14 kB / 0.5457 GB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3441, allocations: 192 / 0.5457 GB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3441, allocations: 3.938 kB / 0.5457 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3441, allocations: 3.562 kB / 0.5457 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.3441, allocations: 7.938 kB / 0.5457 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.3444, allocations: 439.8 kB / 0.5461 GB, free: 25.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.3444, allocations: 180 kB / 0.5463 GB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.3444, allocations: 80.14 kB / 0.5464 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3445, allocations: 79.28 kB / 0.5465 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3445, allocations: 105.8 kB / 0.5466 GB, free: 24.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3445, allocations: 0 / 0.5466 GB, free: 24.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.093e-05/0.3446, allocations: 28.67 kB / 0.5466 GB, free: 24.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3446, allocations: 126.7 kB / 0.5467 GB, free: 24.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.3447, allocations: 107.2 kB / 0.5468 GB, free: 24.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.3447, allocations: 29.64 kB / 0.5468 GB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.3447, allocations: 95.03 kB / 0.5469 GB, free: 24.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.3447, allocations: 0 / 0.5469 GB, free: 24.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.3447, allocations: 16.09 kB / 0.5469 GB, free: 24.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.664e-05/0.3448, allocations: 314.8 kB / 0.5472 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.3448, allocations: 3.031 kB / 0.5472 GB, free: 24.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.3448, allocations: 9.719 kB / 0.5473 GB, free: 24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.3449, allocations: 23.69 kB / 0.5473 GB, free: 23.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3449, allocations: 3.938 kB / 0.5473 GB, free: 23.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.275e-05/0.3449, allocations: 46.25 kB / 0.5473 GB, free: 23.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.345, allocations: 3 kB / 0.5473 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.345, allocations: 3 kB / 0.5473 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.345, allocations: 3.938 kB / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.345, allocations: 3.062 kB / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.345, allocations: 0 / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.3451, allocations: 7.094 kB / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3451, allocations: 0 / 0.5473 GB, free: 23.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.784e-05/0.3451, allocations: 199.4 kB / 0.5475 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.3452, allocations: 104.9 kB / 0.5476 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.3452, allocations: 110.8 kB / 0.5477 GB, free: 23.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.3452, allocations: 180.2 kB / 0.5479 GB, free: 23.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/0.3452, allocations: 183.8 kB / 0.5481 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.3453, allocations: 183.2 kB / 0.5483 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.3454, allocations: 378.7 kB / 0.5486 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.3454, allocations: 101 kB / 0.5487 GB, free: 22.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.3454, allocations: 108.9 kB / 0.5488 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.742e-05/0.3455, allocations: 187.1 kB / 0.549 GB, free: 22.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.3455, allocations: 180.3 kB / 0.5492 GB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-05/0.3455, allocations: 183.7 kB / 0.5493 GB, free: 21.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-05/0.3455, allocations: 183.5 kB / 0.5495 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.552e-05/0.3456, allocations: 306.9 kB / 0.5498 GB, free: 21.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3456, allocations: 111.5 kB / 0.5499 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.3457, allocations: 180.2 kB / 0.5501 GB, free: 20.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-05/0.3457, allocations: 101 kB / 0.5502 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3457, allocations: 187.5 kB / 0.5504 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3458, allocations: 103.9 kB / 0.5505 GB, free: 20.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.477e-05/0.3458, allocations: 82.5 kB / 0.5505 GB, free: 20.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3458, allocations: 4 kB / 0.5505 GB, free: 20.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.346, allocations: 3.219 kB / 0.5506 GB, free: 20.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.437e-05/0.3461, allocations: 166.9 kB / 0.5507 GB, free: 20.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.3461, allocations: 14.59 kB / 0.5507 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3461, allocations: 0 / 0.5507 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3461, allocations: 0 / 0.5507 GB, free: 20.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.3464, allocations: 461.9 kB / 0.5512 GB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001957/0.3466, allocations: 163.1 kB / 0.5513 GB, free: 19.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3467, allocations: 0.6719 MB / 0.552 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.3467, allocations: 3.422 kB / 0.552 GB, free: 19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.3468, allocations: 11.38 kB / 0.552 GB, free: 18.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3468, allocations: 0 / 0.552 GB, free: 18.99 MB / 382.1 MB Notification: Performance of Templates: time 0.002452/0.3492, allocations: 213.3 kB / 0.5522 GB, free: 18.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.024961522081867] Failed to read output from testmodel.py, exit status != 0: 0.3573622109834105 0.36768312200000003 0.021755776 Calling exit ...