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.00189/0.00189, allocations: 89.48 kB / 19.44 MB, free: 340 kB / 13.93 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.604/1.604, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 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.002057/0.002057, allocations: 159.7 kB / 256.3 MB, free: 13.18 MB / 250.7 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.06054/0.06054, allocations: 6.652 MB / 319.4 MB, free: 26.56 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 390.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.216e-05, allocations: 2.312 kB / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002888/0.00292, allocations: 1.302 MB / 392.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 6.39e-05/0.002984, allocations: 11.91 kB / 392.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.003014, allocations: 0 / 392.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.003045, allocations: 0 / 392.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.193e-05/0.003117, allocations: 0 / 392.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.954e-05/0.003137, allocations: 4 kB / 392.2 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.25e-05/0.003199, allocations: 7.938 kB / 392.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/0.003275, allocations: 8 kB / 392.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.00331, allocations: 0 / 392.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.003357, allocations: 7.984 kB / 392.2 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003371, allocations: 3.938 kB / 392.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.003376, allocations: 0 / 392.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.003388, allocations: 0 / 392.2 MB, free: 1.621 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003406, allocations: 3.938 kB / 392.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.58e-05/0.003462, allocations: 7.984 kB / 392.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003464, allocations: 0 / 392.3 MB, free: 1.609 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003464, allocations: 4 kB / 392.3 MB, free: 1.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003469, allocations: 0 / 392.3 MB, free: 1.605 MB / 314.7 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.000432/0.003901, allocations: 348.4 kB / 392.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.003943, allocations: 8.031 kB / 392.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.003986, allocations: 8.891 kB / 392.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.00412, allocations: 108.6 kB / 392.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.004148, allocations: 8.375 kB / 392.7 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.004158, allocations: 4.359 kB / 392.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/0.00425, allocations: 45.64 kB / 392.8 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004259, allocations: 192 / 392.8 MB, free: 1.008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.004267, allocations: 4.375 kB / 392.8 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004274, allocations: 4.375 kB / 392.8 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.898e-05/0.004303, allocations: 11.88 kB / 392.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.004821, allocations: 0.5987 MB / 393.4 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.004997, allocations: 265.4 kB / 393.7 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.005103, allocations: 134.9 kB / 393.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.865e-05/0.005171, allocations: 119.2 kB / 393.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.005529, allocations: 152.6 kB / 394.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.00553, allocations: 0 / 394.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 8.212e-05/0.005612, allocations: 33.64 kB / 394.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.005716, allocations: 174.6 kB / 394.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.005865, allocations: 169.9 kB / 394.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.005884, allocations: 25.7 kB / 394.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.005981, allocations: 142.8 kB / 394.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/0.005988, allocations: 4 kB / 394.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.006025, allocations: 15.38 kB / 394.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002714/0.006297, allocations: 0.4884 MB / 395.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.006306, allocations: 0 / 395.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.00633, allocations: 19.38 kB / 395.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.006375, allocations: 27.44 kB / 395.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.006376, allocations: 0 / 395.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001148/0.006491, allocations: 41.62 kB / 395.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.006514, allocations: 11.94 kB / 395.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006518, allocations: 0 / 395.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.00653, allocations: 0 / 395.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.006575, allocations: 4 kB / 395.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.006581, allocations: 0 / 395.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.006603, allocations: 4 kB / 395.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.006612, allocations: 7.984 kB / 395.2 MB, free: 14.41 MB / 330.7 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 0.000168/0.00678, allocations: 275.8 kB / 395.5 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.006888, allocations: 156.8 kB / 395.6 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.007003, allocations: 152 kB / 395.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001482/0.007151, allocations: 272 kB / 396 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/0.007296, allocations: 268.1 kB / 396.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001338/0.00743, allocations: 264.1 kB / 396.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.007771, allocations: 0.492 MB / 397.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-05/0.007856, allocations: 148.9 kB / 397.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.007956, allocations: 152.8 kB / 397.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/0.008108, allocations: 268.1 kB / 397.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.008259, allocations: 272 kB / 397.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001468/0.008406, allocations: 276 kB / 398.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001407/0.008547, allocations: 264.3 kB / 398.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.008819, allocations: 448.2 kB / 398.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.008933, allocations: 164.8 kB / 399 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.009088, allocations: 268.1 kB / 399.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.009216, allocations: 152.8 kB / 399.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.009368, allocations: 276 kB / 399.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.009448, allocations: 144.9 kB / 399.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.071e-05/0.009529, allocations: 123.2 kB / 399.9 MB, free: 9.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009529, allocations: 4 kB / 400 MB, free: 9.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.00974, allocations: 4 kB / 400 MB, free: 9.465 MB / 330.7 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 0.0001866/0.009926, allocations: 214.4 kB / 400.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.548e-05/0.01002, allocations: 19.61 kB / 400.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01002, allocations: 0 / 400.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.01002, allocations: 0 / 400.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.01066, allocations: 0.7023 MB / 400.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.011, allocations: 217.5 kB / 401.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.01108, allocations: 59.34 kB / 401.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.378e-05/0.0111, allocations: 4.125 kB / 401.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.01113, allocations: 8.5 kB / 401.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01113, allocations: 0 / 401.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of Templates: time 0.002969/0.0141, allocations: 221.1 kB / 401.4 MB, free: 7.969 MB / 330.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.812715914915316]