Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.0007426/0.0007426, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.8769/0.8769, allocations: 177.2 MB / 200.2 MB, free: 5.945 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.001008/0.001008, allocations: 156.6 kB / 256.7 MB, free: 13.35 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.0222/0.0222, allocations: 6.663 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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.859e-05, allocations: 5.094 kB / 446.6 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001272/0.001291, allocations: 1.378 MB / 448 MB, free: 35.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.001979, allocations: 0.8564 MB / 448.9 MB, free: 34.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.002012, allocations: 0 / 448.9 MB, free: 34.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.002215, allocations: 87.5 kB / 449 MB, free: 34.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.002269, allocations: 7.922 kB / 449 MB, free: 34.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.002603, allocations: 266.8 kB / 449.2 MB, free: 34.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.002717, allocations: 39.8 kB / 449.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.002753, allocations: 3.984 kB / 449.3 MB, free: 34.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.002825, allocations: 31.91 kB / 449.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.883e-05/0.002854, allocations: 4 kB / 449.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.002865, allocations: 0 / 449.3 MB, free: 34.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.003016, allocations: 127.7 kB / 449.4 MB, free: 34.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.003024, allocations: 3.938 kB / 449.4 MB, free: 34.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.00304, allocations: 11.94 kB / 449.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003197, allocations: 159.4 kB / 449.6 MB, free: 34.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003199, allocations: 0 / 449.6 MB, free: 34.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.0032, allocations: 0 / 449.6 MB, free: 34.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003203, allocations: 0 / 449.6 MB, free: 34.18 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005124/0.003715, allocations: 358 kB / 449.9 MB, free: 33.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003746, allocations: 12.03 kB / 450 MB, free: 33.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.003772, allocations: 0.9375 kB / 450 MB, free: 33.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.189e-05/0.003824, allocations: 113.7 kB / 450.1 MB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.003834, allocations: 384 / 450.1 MB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003845, allocations: 4.375 kB / 450.1 MB, free: 33.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.003942, allocations: 58.23 kB / 450.1 MB, free: 33.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003949, allocations: 192 / 450.1 MB, free: 33.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.003958, allocations: 4.312 kB / 450.1 MB, free: 33.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003962, allocations: 7.938 kB / 450.1 MB, free: 33.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.004024, allocations: 43.91 kB / 450.2 MB, free: 33.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.994e-05/0.004124, allocations: 121.3 kB / 450.3 MB, free: 33.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.004229, allocations: 62.62 kB / 450.4 MB, free: 33.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.004262, allocations: 20.98 kB / 450.4 MB, free: 33.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.004277, allocations: 0 / 450.4 MB, free: 33.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.00429, allocations: 38.56 kB / 450.4 MB, free: 33.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.22e-07/0.00429, allocations: 0 / 450.4 MB, free: 33.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001642/0.004455, allocations: 101.6 kB / 450.5 MB, free: 33.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.004473, allocations: 63.33 kB / 450.6 MB, free: 33.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.369e-05/0.004507, allocations: 97.86 kB / 450.7 MB, free: 32.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.004513, allocations: 33.7 kB / 450.7 MB, free: 32.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.004527, allocations: 84.14 kB / 450.8 MB, free: 32.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.4e-05/0.00455, allocations: 27.78 kB / 450.8 MB, free: 32.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.004573, allocations: 17.72 kB / 450.8 MB, free: 32.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.322e-05/0.004597, allocations: 314.8 kB / 451.1 MB, free: 32.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.004623, allocations: 16 kB / 451.2 MB, free: 32.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.004646, allocations: 20 kB / 451.2 MB, free: 32.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.004703, allocations: 48.84 kB / 451.2 MB, free: 32.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004705, allocations: 4 kB / 451.2 MB, free: 32.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.005e-05/0.004775, allocations: 77.62 kB / 451.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.004786, allocations: 10.5 kB / 451.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.004793, allocations: 0 / 451.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.004804, allocations: 0 / 451.3 MB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.004869, allocations: 8 kB / 451.3 MB, free: 32.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.004874, allocations: 3.938 kB / 451.3 MB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.004894, allocations: 8 kB / 451.3 MB, free: 32.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.004898, allocations: 3.938 kB / 451.3 MB, free: 32.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.179e-05/0.00493, allocations: 109.8 kB / 451.4 MB, free: 32.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-06/0.004936, allocations: 7.938 kB / 451.5 MB, free: 32.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.005053, allocations: 102 kB / 451.6 MB, free: 32.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005055, allocations: 4 kB / 451.6 MB, free: 32.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.005059, allocations: 12.56 kB / 451.6 MB, free: 32.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005061, allocations: 0 / 451.6 MB, free: 32.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.406e-05/0.005115, allocations: 125.3 kB / 451.7 MB, free: 31.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005116, allocations: 0 / 451.7 MB, free: 31.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.005151, allocations: 15.98 kB / 451.7 MB, free: 31.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005153, allocations: 4 kB / 451.7 MB, free: 31.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.00516, allocations: 0 / 451.7 MB, free: 31.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.005161, allocations: 0 / 451.7 MB, free: 31.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005161, allocations: 0 / 451.7 MB, free: 31.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.005244, allocations: 121 kB / 451.8 MB, free: 31.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.00525, allocations: 11.95 kB / 451.8 MB, free: 31.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.00526, allocations: 0 / 451.8 MB, free: 31.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.005277, allocations: 3.984 kB / 451.8 MB, free: 31.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.005292, allocations: 8 kB / 451.9 MB, free: 31.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.005295, allocations: 3.938 kB / 451.9 MB, free: 31.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.452e-05/0.00531, allocations: 87.27 kB / 451.9 MB, free: 31.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00531, allocations: 0 / 451.9 MB, free: 31.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001281/0.005438, allocations: 12 kB / 452 MB, free: 31.59 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 (8): * Single equations (assignments): 8 * 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.856e-05/0.005516, allocations: 111.2 kB / 452.1 MB, free: 31.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.545e-05/0.005612, allocations: 51.92 kB / 452.1 MB, free: 31.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.005613, allocations: 0 / 452.1 MB, free: 31.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.00564, allocations: 27.98 kB / 452.1 MB, free: 31.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.005746, allocations: 7.938 kB / 452.1 MB, free: 31.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.005966, allocations: 186.4 kB / 452.3 MB, free: 31.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.754e-05/0.005993, allocations: 71.28 kB / 452.4 MB, free: 31.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.006027, allocations: 20.48 kB / 452.4 MB, free: 31.05 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006027, allocations: 0 / 452.4 MB, free: 31.05 MB / 330.7 MB Notification: Performance of Templates: time 0.001343/0.00737, allocations: 0.9635 MB / 453.4 MB, free: 30.09 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.116921908222139] Failed to read output from testmodel.py, exit status != 0: 0.011009929701685905 0.022544814 0.01713299 Calling exit ...