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.001193/0.001193, 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 1/1, allocations: 177.2 MB / 200.3 MB, free: 5.375 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.001695/0.001695, allocations: 156 kB / 257 MB, free: 12.83 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.02487/0.02487, allocations: 6.65 MB / 266.9 MB, free: 3.074 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.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 1.422e-06/1.422e-06, allocations: 0 / 285.7 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.241e-05, allocations: 2.312 kB / 285.7 MB, free: 328 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.117/0.117, allocations: 1.357 MB / 287 MB, free: 22.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 6.884e-05/0.1171, allocations: 6.516 kB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1171, allocations: 1.312 kB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.43e-05/0.1172, allocations: 1.641 kB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.1172, allocations: 2.234 kB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.492e-05/0.1173, allocations: 1.156 kB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.1173, allocations: 10.94 kB / 287 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.1174, allocations: 4.125 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.1174, allocations: 4.219 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.1174, allocations: 4.234 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1175, allocations: 0.5625 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-06/0.1175, allocations: 1.281 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.1175, allocations: 0.6562 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.1175, allocations: 4.203 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.974e-05/0.1176, allocations: 10.95 kB / 287.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1176, allocations: 7.469 kB / 287.1 MB, free: 22.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1176, allocations: 0 / 287.1 MB, free: 22.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1176, allocations: 1.938 kB / 287.1 MB, free: 22.03 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000214/0.1178, allocations: 216.1 kB / 287.3 MB, free: 21.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1178, allocations: 10.03 kB / 287.3 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.1178, allocations: 2.25 kB / 287.3 MB, free: 21.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.467e-05/0.1179, allocations: 107.1 kB / 287.4 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1179, allocations: 1.656 kB / 287.4 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-06/0.1179, allocations: 1.625 kB / 287.4 MB, free: 21.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.175e-05/0.118, allocations: 43.03 kB / 287.5 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.118, allocations: 192 / 287.5 MB, free: 21.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.118, allocations: 4.375 kB / 287.5 MB, free: 21.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.118, allocations: 4.5 kB / 287.5 MB, free: 21.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-06/0.118, allocations: 14.7 kB / 287.5 MB, free: 21.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1181, allocations: 376 kB / 287.8 MB, free: 21.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.312e-05/0.1182, allocations: 168.7 kB / 288 MB, free: 21.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.036e-05/0.1182, allocations: 85.86 kB / 288.1 MB, free: 20.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1182, allocations: 76.22 kB / 288.2 MB, free: 20.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.1182, allocations: 109.5 kB / 288.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/0.1182, allocations: 5.719 kB / 288.3 MB, free: 20.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 5.194e-05/0.1183, allocations: 32.12 kB / 288.3 MB, free: 20.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.1183, allocations: 129.5 kB / 288.4 MB, free: 20.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.1184, allocations: 107.3 kB / 288.5 MB, free: 20.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-06/0.1184, allocations: 25.7 kB / 288.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.1184, allocations: 94.09 kB / 288.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.1184, allocations: 2.219 kB / 288.7 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1184, allocations: 17.14 kB / 288.7 MB, free: 20.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.139e-05/0.1184, allocations: 317.5 kB / 289 MB, free: 20.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.1185, allocations: 1.531 kB / 289 MB, free: 20.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.241e-05/0.1185, allocations: 12.84 kB / 289 MB, free: 20.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.1185, allocations: 20.61 kB / 289 MB, free: 20.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1185, allocations: 0 / 289 MB, free: 20.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.621e-05/0.1186, allocations: 39.48 kB / 289.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1186, allocations: 10.52 kB / 289.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1186, allocations: 0 / 289.1 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1186, allocations: 5.25 kB / 289.1 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.1186, allocations: 3.312 kB / 289.1 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.1186, allocations: 1.344 kB / 289.1 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1187, allocations: 5.609 kB / 289.1 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1187, allocations: 1.281 kB / 289.1 MB, free: 19.98 MB / 266.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 3.812e-05/0.1187, allocations: 184.2 kB / 289.3 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1187, allocations: 103 kB / 289.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.1188, allocations: 120.3 kB / 289.5 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.1188, allocations: 181.6 kB / 289.7 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.1188, allocations: 182.3 kB / 289.8 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.1188, allocations: 180 kB / 290 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.732e-05/0.1189, allocations: 319.5 kB / 290.3 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.1189, allocations: 110.2 kB / 290.4 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.1189, allocations: 102.5 kB / 290.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.848e-05/0.1189, allocations: 187 kB / 290.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.119, allocations: 186.9 kB / 290.9 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/0.119, allocations: 182.9 kB / 291.1 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.718e-05/0.119, allocations: 179 kB / 291.3 MB, free: 17.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.86e-05/0.119, allocations: 306.9 kB / 291.6 MB, free: 17.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.1191, allocations: 104.6 kB / 291.7 MB, free: 17.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1191, allocations: 182.8 kB / 291.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.1191, allocations: 110.3 kB / 291.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.1192, allocations: 179.3 kB / 292.1 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1192, allocations: 111.1 kB / 292.2 MB, free: 16.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.1192, allocations: 11.41 kB / 292.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1192, allocations: 0 / 292.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000173/0.1194, allocations: 3.406 kB / 292.2 MB, free: 16.72 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 (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 7.838e-05/0.1195, allocations: 148.3 kB / 292.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.161e-05/0.1195, allocations: 10.61 kB / 292.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1195, allocations: 0.9375 kB / 292.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1195, allocations: 5.031 kB / 292.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.1197, allocations: 464.8 kB / 292.9 MB, free: 16.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.1198, allocations: 158.5 kB / 293 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.194e-05/0.1199, allocations: 61.73 kB / 293.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.1199, allocations: 2.422 kB / 293.1 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.1199, allocations: 56.84 kB / 293.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1199, allocations: 0 / 293.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of Templates: time 0.001797/0.1217, allocations: 230.9 kB / 293.4 MB, free: 15.79 MB / 266.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5715316557325423]