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.001012/0.001012, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.015/1.015, allocations: 177.1 MB / 200.3 MB, free: 5.668 MB / 186.7 MB " [Timeout remaining time 179] 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.001272/0.001272, allocations: 164 kB / 256.9 MB, free: 12.94 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.04032/0.04032, allocations: 6.668 MB / 320.1 MB, free: 26.33 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 2.615e-06/2.615e-06, allocations: 0 / 392.1 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.441e-05, allocations: 2.312 kB / 392.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002428/0.002462, allocations: 1.333 MB / 393.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 7.978e-05/0.002542, allocations: 3.938 kB / 393.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.002579, allocations: 0 / 393.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.002618, allocations: 0 / 393.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.793e-05/0.002696, allocations: 0 / 393.4 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.673e-05/0.002712, allocations: 7.938 kB / 393.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.002776, allocations: 11.92 kB / 393.4 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/0.002847, allocations: 11.98 kB / 393.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.002884, allocations: 0 / 393.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.002931, allocations: 4 kB / 393.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.002948, allocations: 0 / 393.4 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-06/0.002953, allocations: 3.938 kB / 393.4 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.002968, allocations: 0 / 393.4 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.002987, allocations: 0 / 393.4 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.996e-05/0.003057, allocations: 11.92 kB / 393.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003061, allocations: 0 / 393.4 MB, free: 0.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003062, allocations: 4 kB / 393.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.003067, allocations: 0 / 393.4 MB, free: 0.8711 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.0003808/0.003447, allocations: 348.7 kB / 393.8 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.003499, allocations: 8.031 kB / 393.8 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.00353, allocations: 4.938 kB / 393.8 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.003628, allocations: 112.6 kB / 393.9 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.00364, allocations: 384 / 393.9 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.003647, allocations: 4.375 kB / 393.9 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.478e-05/0.003732, allocations: 49.58 kB / 394 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.00374, allocations: 192 / 394 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.003746, allocations: 4.375 kB / 394 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.003751, allocations: 384 / 394 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-06/0.003759, allocations: 3.938 kB / 394 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.004073, allocations: 0.5759 MB / 394.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.004156, allocations: 277.3 kB / 394.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.00419, allocations: 126.9 kB / 394.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.004219, allocations: 119.2 kB / 395.1 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.004266, allocations: 152.6 kB / 395.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.004268, allocations: 4 kB / 395.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.004335, allocations: 37.56 kB / 395.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.004387, allocations: 174.6 kB / 395.4 MB, free: 14.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.004481, allocations: 165.9 kB / 395.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.00449, allocations: 25.7 kB / 395.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.004551, allocations: 138.8 kB / 395.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.004554, allocations: 0 / 395.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.004584, allocations: 23.38 kB / 395.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.004706, allocations: 492.1 kB / 396.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-06/0.004715, allocations: 4.25 kB / 396.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.004732, allocations: 15.38 kB / 396.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.004767, allocations: 27.44 kB / 396.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004769, allocations: 0 / 396.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.343e-05/0.004843, allocations: 41.62 kB / 396.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.004856, allocations: 8 kB / 396.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.004861, allocations: 0 / 396.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.004873, allocations: 3.938 kB / 396.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.846e-05/0.004912, allocations: 4 kB / 396.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.004915, allocations: 0 / 396.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.004935, allocations: 7.938 kB / 396.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.004939, allocations: 8.062 kB / 396.4 MB, free: 13.72 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 9.078e-05/0.00503, allocations: 275.8 kB / 396.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.005079, allocations: 144.9 kB / 396.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.005139, allocations: 152 kB / 396.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-05/0.005202, allocations: 272 kB / 397.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.591e-05/0.005278, allocations: 272.1 kB / 397.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.488e-05/0.005343, allocations: 272 kB / 397.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.005517, allocations: 484.6 kB / 398.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/0.005553, allocations: 144.9 kB / 398.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.005586, allocations: 148.8 kB / 398.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-05/0.005647, allocations: 272.1 kB / 398.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003529/0.006, allocations: 272 kB / 399 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-05/0.006055, allocations: 268 kB / 399.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.304e-05/0.006118, allocations: 272 kB / 399.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.006257, allocations: 452.2 kB / 400 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.006305, allocations: 152.8 kB / 400.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.006374, allocations: 268.1 kB / 400.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.006434, allocations: 148.8 kB / 400.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.911e-05/0.006503, allocations: 276 kB / 400.8 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.006537, allocations: 148.9 kB / 400.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.006579, allocations: 131.2 kB / 401.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006579, allocations: 4 kB / 401.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001366/0.006716, allocations: 0 / 401.1 MB, free: 8.805 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.0001073/0.006823, allocations: 214.4 kB / 401.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.333e-05/0.006887, allocations: 11.69 kB / 401.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006888, allocations: 0 / 401.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.006889, allocations: 0 / 401.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.007216, allocations: 0.7063 MB / 402 MB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.007409, allocations: 229.4 kB / 402.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.908e-05/0.007438, allocations: 55.48 kB / 402.3 MB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.207e-05/0.00746, allocations: 4 kB / 402.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.007497, allocations: 66.2 kB / 402.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.007498, allocations: 0 / 402.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of Templates: time 0.001561/0.009059, allocations: 232.9 kB / 402.6 MB, free: 7.234 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: 3.0362079101614654]