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.0008858/0.0008858, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.96/0.96, allocations: 177.2 MB / 200.3 MB, free: 5.691 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.001793/0.001793, allocations: 152.6 kB / 257 MB, free: 12.98 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.03051/0.03051, allocations: 6.663 MB / 266.9 MB, free: 3.23 MB / 250.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.142e-06/1.142e-06, allocations: 0 / 285.7 MB, free: 492 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.479e-05, allocations: 2.312 kB / 285.7 MB, free: 488 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.1147/0.1147, allocations: 1.447 MB / 287.1 MB, free: 22.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1157, allocations: 0.8916 MB / 288 MB, free: 21.51 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.1158, allocations: 1.25 kB / 288 MB, free: 21.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1161, allocations: 96.88 kB / 288.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.1161, allocations: 13.2 kB / 288.1 MB, free: 21.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.1166, allocations: 267.1 kB / 288.4 MB, free: 21.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1167, allocations: 43.41 kB / 288.4 MB, free: 21.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.1168, allocations: 5.125 kB / 288.4 MB, free: 21.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.733e-05/0.1169, allocations: 27.28 kB / 288.4 MB, free: 21.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.1169, allocations: 10.47 kB / 288.5 MB, free: 21.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1169, allocations: 0.9688 kB / 288.5 MB, free: 21.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.1172, allocations: 130 kB / 288.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-06/0.1172, allocations: 3.594 kB / 288.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.1172, allocations: 10.3 kB / 288.6 MB, free: 21.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1174, allocations: 148.4 kB / 288.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1174, allocations: 1.094 kB / 288.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1174, allocations: 0.6562 kB / 288.7 MB, free: 21.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1174, allocations: 0 / 288.7 MB, free: 21.16 MB / 266.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.0005364/0.1179, allocations: 340.7 kB / 289.1 MB, free: 20.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.118, allocations: 9.156 kB / 289.1 MB, free: 20.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.118, allocations: 9.172 kB / 289.1 MB, free: 20.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.684e-05/0.118, allocations: 107.6 kB / 289.2 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1181, allocations: 1.562 kB / 289.2 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1181, allocations: 2.75 kB / 289.2 MB, free: 20.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.071e-05/0.1181, allocations: 51.67 kB / 289.2 MB, free: 20.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1181, allocations: 192 / 289.2 MB, free: 20.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.1181, allocations: 2.844 kB / 289.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1182, allocations: 5.375 kB / 289.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.1182, allocations: 10.84 kB / 289.3 MB, free: 20.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.92e-05/0.1183, allocations: 84.8 kB / 289.4 MB, free: 20.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1184, allocations: 47.5 kB / 289.4 MB, free: 20.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1184, allocations: 13.38 kB / 289.4 MB, free: 20.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1184, allocations: 3.312 kB / 289.4 MB, free: 20.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1184, allocations: 35.78 kB / 289.4 MB, free: 20.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1184, allocations: 1.469 kB / 289.5 MB, free: 20.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001123/0.1185, allocations: 57.67 kB / 289.5 MB, free: 20.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.1186, allocations: 53.3 kB / 289.6 MB, free: 20.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.263e-05/0.1186, allocations: 108.9 kB / 289.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-06/0.1186, allocations: 27.33 kB / 289.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-06/0.1186, allocations: 82.02 kB / 289.8 MB, free: 20.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1186, allocations: 20.58 kB / 289.8 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.1187, allocations: 19.55 kB / 289.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.728e-05/0.1187, allocations: 323.5 kB / 290.1 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.1187, allocations: 5.172 kB / 290.1 MB, free: 19.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.386e-05/0.1187, allocations: 7.812 kB / 290.1 MB, free: 19.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.1188, allocations: 31.14 kB / 290.2 MB, free: 19.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1188, allocations: 1.188 kB / 290.2 MB, free: 19.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.936e-05/0.1188, allocations: 50.48 kB / 290.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1188, allocations: 7.406 kB / 290.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1188, allocations: 0 / 290.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1188, allocations: 0 / 290.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.1189, allocations: 11.11 kB / 290.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.1189, allocations: 1.094 kB / 290.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.048e-05/0.1189, allocations: 10.3 kB / 290.2 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1189, allocations: 1.219 kB / 290.3 MB, free: 19.83 MB / 266.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.661e-05/0.119, allocations: 112.7 kB / 290.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.119, allocations: 4.531 kB / 290.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.945e-05/0.1191, allocations: 73 kB / 290.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1191, allocations: 1.281 kB / 290.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.1191, allocations: 2.812 kB / 290.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1191, allocations: 4.125 kB / 290.4 MB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.015e-05/0.1192, allocations: 86.92 kB / 290.5 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1192, allocations: 0 / 290.5 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.1192, allocations: 13.5 kB / 290.5 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1192, allocations: 3.875 kB / 290.5 MB, free: 19.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.1192, allocations: 8.719 kB / 290.6 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1192, allocations: 3.031 kB / 290.6 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1192, allocations: 0 / 290.6 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.498e-05/0.1193, allocations: 89.16 kB / 290.6 MB, free: 19.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-06/0.1193, allocations: 10.89 kB / 290.7 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.1193, allocations: 1.859 kB / 290.7 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.1193, allocations: 3.438 kB / 290.7 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.1193, allocations: 5.016 kB / 290.7 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1193, allocations: 5.25 kB / 290.7 MB, free: 19.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.171e-05/0.1194, allocations: 11.52 kB / 290.7 MB, free: 19.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1194, allocations: 0 / 290.7 MB, free: 19.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00011/0.1195, allocations: 11.72 kB / 290.7 MB, free: 19.48 MB / 266.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 9.522e-05/0.1196, allocations: 96.31 kB / 290.8 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.1196, allocations: 35.12 kB / 290.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1196, allocations: 0 / 290.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.1197, allocations: 25.19 kB / 290.8 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.255e-05/0.1197, allocations: 10.92 kB / 290.9 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.1199, allocations: 153.5 kB / 291 MB, free: 19.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.143e-05/0.12, allocations: 61.03 kB / 291.1 MB, free: 19.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.12, allocations: 5.891 kB / 291.1 MB, free: 19.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.12, allocations: 56.59 kB / 291.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.12, allocations: 0 / 291.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of Templates: time 0.002535/0.1226, allocations: 0.9137 MB / 292 MB, free: 19.03 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6712392829358578]