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.0007857/0.0007857, allocations: 76.5 kB / 19.93 MB, free: 4.629 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 0.8437/0.8437, allocations: 177.2 MB / 200.2 MB, free: 5.934 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.001077/0.001077, allocations: 156.6 kB / 256.7 MB, free: 13.34 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.02164/0.02164, allocations: 6.661 MB / 319.8 MB, free: 26.77 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.312e-06/1.312e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.804e-05, allocations: 2.281 kB / 446.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001262/0.00128, allocations: 1.284 MB / 447.9 MB, free: 35.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 4.687e-05/0.001326, allocations: 11.92 kB / 447.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.001353, allocations: 4 kB / 447.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.001388, allocations: 3.984 kB / 447.9 MB, free: 35.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.001444, allocations: 3.938 kB / 447.9 MB, free: 35.83 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.562e-05/0.00146, allocations: 0 / 447.9 MB, free: 35.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.001517, allocations: 11.94 kB / 448 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.00158, allocations: 4 kB / 448 MB, free: 35.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.001608, allocations: 4 kB / 448 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.001641, allocations: 3.984 kB / 448 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.00166, allocations: 0 / 448 MB, free: 35.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-06/0.001664, allocations: 4 kB / 448 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.001676, allocations: 0 / 448 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.001692, allocations: 7.875 kB / 448 MB, free: 35.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 4.914e-05/0.001741, allocations: 11.92 kB / 448 MB, free: 35.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.001744, allocations: 4 kB / 448 MB, free: 35.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.001744, allocations: 0 / 448 MB, free: 35.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.001748, allocations: 0 / 448 MB, free: 35.78 MB / 330.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.0002417/0.00199, allocations: 242.5 kB / 448.2 MB, free: 35.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.00202, allocations: 8.031 kB / 448.2 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.002044, allocations: 0.9375 kB / 448.2 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.861e-05/0.002113, allocations: 113.7 kB / 448.3 MB, free: 35.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.002123, allocations: 4.375 kB / 448.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.00213, allocations: 384 / 448.4 MB, free: 35.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.99e-05/0.00219, allocations: 47.91 kB / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.002198, allocations: 192 / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-06/0.002205, allocations: 384 / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.002209, allocations: 4.375 kB / 448.4 MB, free: 35.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.245e-05/0.002222, allocations: 7.938 kB / 448.4 MB, free: 35.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.002398, allocations: 419.4 kB / 448.8 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.326e-05/0.002431, allocations: 169.1 kB / 449 MB, free: 34.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.044e-05/0.002442, allocations: 84.14 kB / 449.1 MB, free: 34.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.002451, allocations: 75.28 kB / 449.1 MB, free: 34.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.002464, allocations: 105.8 kB / 449.2 MB, free: 34.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.002465, allocations: 0 / 449.2 MB, free: 34.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.412e-05/0.002509, allocations: 41.58 kB / 449.3 MB, free: 34.35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.002529, allocations: 126.7 kB / 449.4 MB, free: 34.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.004e-05/0.002579, allocations: 105.8 kB / 449.5 MB, free: 34.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-06/0.002583, allocations: 25.7 kB / 449.5 MB, free: 34.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.002609, allocations: 88.09 kB / 449.6 MB, free: 33.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.002611, allocations: 0 / 449.6 MB, free: 33.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.00263, allocations: 21.7 kB / 449.6 MB, free: 33.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.133e-05/0.002651, allocations: 310.8 kB / 449.9 MB, free: 33.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.002659, allocations: 8.188 kB / 450 MB, free: 33.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.002667, allocations: 9.719 kB / 450 MB, free: 33.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.00269, allocations: 25.66 kB / 450 MB, free: 33.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.002692, allocations: 0 / 450 MB, free: 33.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.386e-05/0.002775, allocations: 49.7 kB / 450 MB, free: 33.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.002787, allocations: 7.938 kB / 450 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.002791, allocations: 0 / 450 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.002802, allocations: 0 / 450 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.002841, allocations: 4 kB / 450.1 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.002846, allocations: 0 / 450.1 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.002863, allocations: 11.94 kB / 450.1 MB, free: 33.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.002867, allocations: 3.984 kB / 450.1 MB, free: 33.5 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 3.158e-05/0.002899, allocations: 185.1 kB / 450.2 MB, free: 33.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.002915, allocations: 105 kB / 450.3 MB, free: 33.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.00293, allocations: 119.9 kB / 450.5 MB, free: 33.08 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.002941, allocations: 188.2 kB / 450.7 MB, free: 32.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.002954, allocations: 176.3 kB / 450.8 MB, free: 32.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.002965, allocations: 180.2 kB / 451 MB, free: 32.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.097e-05/0.003026, allocations: 352.9 kB / 451.3 MB, free: 32.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.003033, allocations: 109 kB / 451.4 MB, free: 32.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.00304, allocations: 109 kB / 451.6 MB, free: 31.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.003052, allocations: 176.3 kB / 451.7 MB, free: 31.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.003065, allocations: 184.2 kB / 451.9 MB, free: 31.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.003076, allocations: 184.2 kB / 452.1 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.003087, allocations: 184.2 kB / 452.3 MB, free: 31.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.903e-05/0.003126, allocations: 307.8 kB / 452.6 MB, free: 30.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.003139, allocations: 104.9 kB / 452.7 MB, free: 30.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.003158, allocations: 180.5 kB / 452.8 MB, free: 30.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.003196, allocations: 112.9 kB / 453 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.003222, allocations: 180.3 kB / 453.1 MB, free: 30.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.00323, allocations: 109 kB / 453.2 MB, free: 30.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.776e-05/0.003248, allocations: 83.28 kB / 453.3 MB, free: 30.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003248, allocations: 0 / 453.3 MB, free: 30.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.003387, allocations: 0 / 453.3 MB, free: 30.06 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 5.521e-05/0.003442, allocations: 174.5 kB / 453.5 MB, free: 29.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.003494, allocations: 8 kB / 453.5 MB, free: 29.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.003495, allocations: 3.938 kB / 453.5 MB, free: 29.87 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.003496, allocations: 0 / 453.5 MB, free: 29.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.003664, allocations: 458.5 kB / 454 MB, free: 29.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001434/0.003808, allocations: 193.8 kB / 454.1 MB, free: 29.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.444e-05/0.003832, allocations: 63.47 kB / 454.2 MB, free: 29.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.003848, allocations: 8.5 kB / 454.2 MB, free: 29.11 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.003848, allocations: 0 / 454.2 MB, free: 29.11 MB / 330.7 MB Notification: Performance of Templates: time 0.0009735/0.004822, allocations: 420 kB / 454.6 MB, free: 28.7 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.046658106148243] Failed to read output from testmodel.py, exit status != 0: 0.008564925752580166 0.014956277 0.011877589000000001 Calling exit ...