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.001359/0.001359, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.016/1.016, allocations: 177.1 MB / 201 MB, free: 5.715 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.001446/0.001446, allocations: 152 kB / 257.7 MB, free: 12.99 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.02423/0.02423, allocations: 6.662 MB / 320.9 MB, free: 26.35 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.273e-06/1.273e-06, allocations: 0 / 392.8 MB, free: 2.289 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.885e-05, allocations: 2.312 kB / 392.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.002048/0.002067, allocations: 1.429 MB / 394.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003141, allocations: 0.8681 MB / 395.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.003183, allocations: 0 / 395.1 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.003479, allocations: 91.48 kB / 395.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.825e-05/0.003547, allocations: 15.88 kB / 395.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.004028, allocations: 274.8 kB / 395.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.004145, allocations: 39.84 kB / 395.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.154e-05/0.004177, allocations: 3.984 kB / 395.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.004258, allocations: 19.92 kB / 395.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.174e-05/0.00429, allocations: 8 kB / 395.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.0043, allocations: 3.938 kB / 395.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.007529, allocations: 123.7 kB / 395.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.007541, allocations: 3.938 kB / 395.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.007556, allocations: 4 kB / 395.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.007762, allocations: 159.5 kB / 395.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.007764, allocations: 0 / 395.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007765, allocations: 0 / 395.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.007769, allocations: 0 / 395.9 MB, free: 15.24 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.00064/0.008408, allocations: 464.2 kB / 396.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.00844, allocations: 12.03 kB / 396.3 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.008469, allocations: 8.891 kB / 396.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.008545, allocations: 112.6 kB / 396.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.008554, allocations: 4.375 kB / 396.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.008563, allocations: 4.375 kB / 396.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.535e-05/0.008638, allocations: 50.17 kB / 396.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.008643, allocations: 192 / 396.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.008651, allocations: 384 / 396.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.008656, allocations: 3.938 kB / 396.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.008694, allocations: 15.98 kB / 396.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.008814, allocations: 113.2 kB / 396.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.008917, allocations: 55.11 kB / 396.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.008944, allocations: 19.67 kB / 396.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.008955, allocations: 4 kB / 396.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.008975, allocations: 37.45 kB / 396.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.008976, allocations: 0 / 396.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001382/0.009114, allocations: 69.86 kB / 396.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.00914, allocations: 55.41 kB / 396.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.009206, allocations: 169.9 kB / 397.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.009218, allocations: 29.7 kB / 397.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.009255, allocations: 130.9 kB / 397.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.00929, allocations: 27.77 kB / 397.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.009325, allocations: 23.38 kB / 397.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.009442, allocations: 496.1 kB / 397.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.009462, allocations: 15.98 kB / 397.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.00948, allocations: 7.938 kB / 397.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.035e-05/0.00953, allocations: 31.69 kB / 397.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.009531, allocations: 0 / 397.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.306e-05/0.009614, allocations: 53.69 kB / 397.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.009625, allocations: 8 kB / 397.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.00963, allocations: 3.984 kB / 397.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.009637, allocations: 3.938 kB / 397.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.009703, allocations: 8 kB / 397.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.009706, allocations: 3.938 kB / 397.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.009735, allocations: 11.89 kB / 397.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.00974, allocations: 4 kB / 397.9 MB, free: 13.03 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 6.155e-05/0.009802, allocations: 156.6 kB / 398 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.009813, allocations: 4 kB / 398.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.009929, allocations: 78.09 kB / 398.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.00993, allocations: 0 / 398.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009932, allocations: 0 / 398.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.009937, allocations: 7.938 kB / 398.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.064e-05/0.01003, allocations: 117.2 kB / 398.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01003, allocations: 0 / 398.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.01008, allocations: 20.38 kB / 398.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01008, allocations: 0 / 398.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.01009, allocations: 0 / 398.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01009, allocations: 4 kB / 398.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01009, allocations: 4 kB / 398.3 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.0132, allocations: 108.3 kB / 398.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-06/0.01321, allocations: 7.891 kB / 398.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.01322, allocations: 4 kB / 398.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.566e-05/0.01325, allocations: 0 / 398.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.01327, allocations: 7.984 kB / 398.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.01327, allocations: 4 kB / 398.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.799e-05/0.01331, allocations: 127.2 kB / 398.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01331, allocations: 0 / 398.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.01349, allocations: 16 kB / 398.5 MB, free: 12.31 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 0.0001011/0.0136, allocations: 115.2 kB / 398.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.01368, allocations: 35.61 kB / 398.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01368, allocations: 0 / 398.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.01372, allocations: 35.61 kB / 398.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.01384, allocations: 0 / 398.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.01407, allocations: 154.2 kB / 398.9 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.0141, allocations: 67.28 kB / 398.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.013e-05/0.01413, allocations: 7.906 kB / 399 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.01419, allocations: 74.2 kB / 399 MB, free: 11.76 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01419, allocations: 0 / 399 MB, free: 11.76 MB / 330.7 MB Notification: Performance of Templates: time 0.005046/0.01924, allocations: 0.9289 MB / 400 MB, free: 10.83 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.030876262113452]