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.00175/0.00175, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.68/1.68, allocations: 177.1 MB / 199.7 MB, free: 5.824 MB / 186.7 MB " [Timeout remaining time 178] 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.001951/0.001951, allocations: 159.8 kB / 256.3 MB, free: 13.19 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.03879/0.03879, allocations: 6.655 MB / 319.4 MB, free: 26.57 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 2.265e-06/2.265e-06, allocations: 0 / 390.9 MB, free: 3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.624e-05/4.85e-05, allocations: 2.312 kB / 390.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.004003/0.004052, allocations: 1.305 MB / 392.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 8.396e-05/0.004136, allocations: 7.984 kB / 392.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.004174, allocations: 0 / 392.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.004221, allocations: 0 / 392.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.004315, allocations: 11.86 kB / 392.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.947e-05/0.004335, allocations: 0 / 392.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.523e-05/0.00441, allocations: 4 kB / 392.2 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.004489, allocations: 8 kB / 392.2 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.238e-05/0.004551, allocations: 11.92 kB / 392.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.004605, allocations: 0 / 392.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.004626, allocations: 4 kB / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-06/0.004631, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.004648, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.004676, allocations: 0 / 392.2 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 8.225e-05/0.004758, allocations: 4 kB / 392.2 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.004764, allocations: 3.938 kB / 392.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.004766, allocations: 0 / 392.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.004773, allocations: 0 / 392.2 MB, free: 1.629 MB / 314.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.0004868/0.00526, allocations: 250.4 kB / 392.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.00531, allocations: 8.031 kB / 392.5 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.005356, allocations: 4.891 kB / 392.5 MB, free: 1.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.005532, allocations: 113.7 kB / 392.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.005549, allocations: 384 / 392.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.00556, allocations: 4.375 kB / 392.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.005674, allocations: 43.92 kB / 392.7 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.005683, allocations: 4.188 kB / 392.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.005692, allocations: 384 / 392.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005696, allocations: 384 / 392.7 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.005719, allocations: 7.938 kB / 392.7 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.006227, allocations: 427.3 kB / 393.1 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.00637, allocations: 169.2 kB / 393.3 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.006449, allocations: 80.14 kB / 393.3 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.0065, allocations: 75.28 kB / 393.4 MB, free: 356 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.433e-05/0.006574, allocations: 109.8 kB / 393.5 MB, free: 236 kB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 4.629e-06/0.006579, allocations: 3.984 kB / 393.5 MB, free: 232 kB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001093/0.006688, allocations: 37.56 kB / 393.6 MB, free: 188 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.006786, allocations: 130.7 kB / 393.7 MB, free: 44 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.00696, allocations: 105.8 kB / 393.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.006979, allocations: 29.7 kB / 393.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.007069, allocations: 92.06 kB / 393.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-06/0.007072, allocations: 4 kB / 393.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.007119, allocations: 9.719 kB / 393.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.007332, allocations: 318.8 kB / 394.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/0.007349, allocations: 0 / 394.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.007379, allocations: 13.72 kB / 394.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.2e-05/0.007431, allocations: 21.66 kB / 394.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007433, allocations: 64 / 394.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001697/0.007603, allocations: 41.69 kB / 394.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.007628, allocations: 7.938 kB / 394.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.007634, allocations: 4 kB / 394.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.007659, allocations: 7.875 kB / 394.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.459e-05/0.007734, allocations: 4 kB / 394.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.007741, allocations: 0 / 394.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.007779, allocations: 4 kB / 394.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.007786, allocations: 0 / 394.3 MB, free: 15.34 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 0.0001455/0.007931, allocations: 185.1 kB / 394.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.00802, allocations: 109 kB / 394.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.008107, allocations: 116 kB / 394.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001221/0.008229, allocations: 180.3 kB / 394.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001067/0.008336, allocations: 180.3 kB / 395.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.686e-05/0.008433, allocations: 184.2 kB / 395.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.009022, allocations: 352.9 kB / 395.6 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-05/0.009087, allocations: 108.9 kB / 395.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.009145, allocations: 101 kB / 395.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.009274, allocations: 188.2 kB / 396 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.009379, allocations: 176.3 kB / 396.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000107/0.009486, allocations: 184.2 kB / 396.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001101/0.009596, allocations: 184.2 kB / 396.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.00984, allocations: 308 kB / 396.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.27e-05/0.009933, allocations: 108.9 kB / 396.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.01005, allocations: 180.3 kB / 397.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.01021, allocations: 108.9 kB / 397.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.01033, allocations: 188.2 kB / 397.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-05/0.0104, allocations: 108.9 kB / 397.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.812e-05/0.01049, allocations: 79.28 kB / 397.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01049, allocations: 0 / 397.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.01075, allocations: 4 kB / 397.6 MB, free: 11.89 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 0.0001891/0.01093, allocations: 170.5 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.01104, allocations: 8 kB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01104, allocations: 0 / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.01104, allocations: 0 / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.0116, allocations: 463.6 kB / 398.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.01196, allocations: 168 kB / 398.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.984e-05/0.01205, allocations: 59.34 kB / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.01208, allocations: 128 / 398.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.01212, allocations: 16.44 kB / 398.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01212, allocations: 0 / 398.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of Templates: time 0.002762/0.01488, allocations: 213 kB / 398.7 MB, free: 10.76 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: 5.330877201049589]