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.001087/0.001087, allocations: 85.95 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 0.9973/0.9973, allocations: 177.2 MB / 200.3 MB, free: 5.363 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.001631/0.001631, allocations: 167.3 kB / 256.9 MB, free: 12.81 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.02315/0.02315, allocations: 6.657 MB / 320.1 MB, free: 26.34 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 2.344e-06/2.344e-06, allocations: 3.984 kB / 392.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.673e-05, allocations: 2.312 kB / 392.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001585/0.001602, allocations: 1.418 MB / 393.5 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.002538, allocations: 0.872 MB / 394.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.529e-05/0.002573, allocations: 4 kB / 394.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.002784, allocations: 83.5 kB / 394.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 5.881e-05/0.002842, allocations: 19.84 kB / 394.5 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.003222, allocations: 274.8 kB / 394.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.003315, allocations: 39.8 kB / 394.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.662e-05/0.003342, allocations: 0 / 394.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.003416, allocations: 31.89 kB / 394.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.003447, allocations: 7.938 kB / 394.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.003456, allocations: 0 / 394.8 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.003614, allocations: 127.7 kB / 394.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-06/0.003621, allocations: 3.984 kB / 394.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.001e-05/0.003631, allocations: 8 kB / 394.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.003778, allocations: 143.5 kB / 395.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-06/0.003779, allocations: 4 kB / 395.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.003779, allocations: 0 / 395.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.364e-06/0.003782, allocations: 0 / 395.1 MB, free: 15.23 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.0004519/0.004234, allocations: 464.2 kB / 395.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.223e-05/0.004256, allocations: 12.03 kB / 395.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.634e-05/0.004272, allocations: 8.891 kB / 395.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.791e-05/0.00432, allocations: 116.5 kB / 395.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-06/0.004326, allocations: 8.375 kB / 395.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-06/0.004331, allocations: 4.375 kB / 395.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.119e-05/0.004402, allocations: 38.25 kB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.004409, allocations: 192 / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.004416, allocations: 4.375 kB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.004424, allocations: 7.938 kB / 395.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.004454, allocations: 11.98 kB / 395.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.004563, allocations: 113.2 kB / 395.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.004648, allocations: 59.05 kB / 395.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.00467, allocations: 19.81 kB / 395.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.004684, allocations: 3.984 kB / 395.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.004703, allocations: 41.39 kB / 396 MB, free: 14.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.004704, allocations: 0 / 396 MB, free: 14.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001207/0.004824, allocations: 61.69 kB / 396 MB, free: 14.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.004848, allocations: 63.34 kB / 396.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.004913, allocations: 169.8 kB / 396.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.004923, allocations: 25.7 kB / 396.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.004954, allocations: 126.9 kB / 396.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.004978, allocations: 23.8 kB / 396.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.005006, allocations: 31.34 kB / 396.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.005103, allocations: 0.4883 MB / 397 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.005115, allocations: 8 kB / 397 MB, free: 13.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.005129, allocations: 11.98 kB / 397 MB, free: 13.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.005165, allocations: 27.67 kB / 397 MB, free: 13.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005166, allocations: 0 / 397 MB, free: 13.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.801e-05/0.005224, allocations: 65.62 kB / 397.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.005233, allocations: 4 kB / 397.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005236, allocations: 0 / 397.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005248, allocations: 0 / 397.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.0053, allocations: 11.98 kB / 397.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.005302, allocations: 0 / 397.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.005324, allocations: 11.89 kB / 397.1 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.005328, allocations: 4 kB / 397.1 MB, free: 13.02 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 5.03e-05/0.005378, allocations: 152.6 kB / 397.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.005387, allocations: 8 kB / 397.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.384e-05/0.005481, allocations: 78.05 kB / 397.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.005484, allocations: 8.672 kB / 397.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.005486, allocations: 0 / 397.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.00549, allocations: 3.938 kB / 397.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.875e-05/0.005559, allocations: 113.2 kB / 397.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.005559, allocations: 4 kB / 397.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-05/0.005593, allocations: 12 kB / 397.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.005594, allocations: 4 kB / 397.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.0056, allocations: 8 kB / 397.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005601, allocations: 0 / 397.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005601, allocations: 0 / 397.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.895e-05/0.00568, allocations: 108.3 kB / 397.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.005688, allocations: 15.88 kB / 397.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.005697, allocations: 4 kB / 397.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.627e-05/0.005713, allocations: 0 / 397.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.005726, allocations: 4 kB / 397.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.005728, allocations: 0 / 397.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.005756, allocations: 127.2 kB / 397.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005756, allocations: 4 kB / 397.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.005883, allocations: 19.94 kB / 397.8 MB, free: 12.29 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 8.362e-05/0.005967, allocations: 111.2 kB / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.006041, allocations: 43.59 kB / 397.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.006042, allocations: 0 / 397.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.006064, allocations: 23.62 kB / 397.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.421e-05/0.006158, allocations: 11.98 kB / 398 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.006353, allocations: 154.1 kB / 398.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.006381, allocations: 55.36 kB / 398.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.249e-05/0.006404, allocations: 19.83 kB / 398.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.00645, allocations: 74.2 kB / 398.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.00645, allocations: 0 / 398.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of Templates: time 0.002054/0.008504, allocations: 0.9062 MB / 399.2 MB, free: 10.84 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.0103299552574754]