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.0007996/0.0007996, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001837, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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/1.1, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2144/1.314, allocations: 53.65 MB / 242 MB, free: 2.629 MB / 234.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.0009176/0.0009176, allocations: 144.4 kB / 242.9 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001671/0.002588, allocations: 486.9 kB / 243.4 MB, free: 1.289 MB / 234.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.02706/0.02706, allocations: 6.647 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00545/0.03251, allocations: 2.664 MB / 253.5 MB, free: 7.422 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 3.346e-06/3.346e-06, allocations: 4 kB / 254.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/2.149e-05, allocations: 6.25 kB / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001726/0.001748, allocations: 1.374 MB / 256.1 MB, free: 4.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 2.835e-05/0.001776, allocations: 7.938 kB / 256.1 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.001805, allocations: 0 / 256.1 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.001848, allocations: 3.984 kB / 256.1 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.001882, allocations: 0 / 256.1 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.96e-05/0.001901, allocations: 4 kB / 256.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.365e-05/0.001975, allocations: 15.92 kB / 256.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.002053, allocations: 0 / 256.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.002125, allocations: 11.98 kB / 256.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.002186, allocations: 0 / 256.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.002209, allocations: 3.938 kB / 256.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.002215, allocations: 0 / 256.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.002236, allocations: 3.938 kB / 256.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.002255, allocations: 4 kB / 256.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.002335, allocations: 4 kB / 256.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.00235, allocations: 0 / 256.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.002351, allocations: 4 kB / 256.2 MB, free: 4.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.002365, allocations: 0 / 256.2 MB, free: 4.691 MB / 250.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.0003833/0.002749, allocations: 220.7 kB / 256.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.002796, allocations: 12.03 kB / 256.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.002829, allocations: 0.9375 kB / 256.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.003041, allocations: 113.7 kB / 256.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.003051, allocations: 384 / 256.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-06/0.003059, allocations: 384 / 256.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.834e-05/0.003128, allocations: 47.91 kB / 256.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.003137, allocations: 192 / 256.6 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.003144, allocations: 4.375 kB / 256.6 MB, free: 4.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.00315, allocations: 4.312 kB / 256.6 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.035e-06/0.003158, allocations: 7.938 kB / 256.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.003408, allocations: 371.1 kB / 256.9 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.003489, allocations: 173.1 kB / 257.1 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.003511, allocations: 80.14 kB / 257.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.003534, allocations: 83.27 kB / 257.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.003573, allocations: 109.9 kB / 257.4 MB, free: 3.383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.003573, allocations: 0 / 257.4 MB, free: 3.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 6.575e-05/0.003639, allocations: 29.64 kB / 257.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.00369, allocations: 138.7 kB / 257.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.003772, allocations: 114.6 kB / 257.7 MB, free: 3.074 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.003781, allocations: 25.7 kB / 257.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.003826, allocations: 96.02 kB / 257.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.003829, allocations: 0 / 257.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.003852, allocations: 13.72 kB / 257.8 MB, free: 2.926 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.003927, allocations: 310.8 kB / 258.1 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.003932, allocations: 3.984 kB / 258.1 MB, free: 2.609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.17e-05/0.003944, allocations: 13.72 kB / 258.1 MB, free: 2.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.00397, allocations: 17.78 kB / 258.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.003972, allocations: 0 / 258.1 MB, free: 2.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.983e-05/0.004042, allocations: 45.62 kB / 258.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.004055, allocations: 4 kB / 258.2 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.004061, allocations: 4 kB / 258.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.004078, allocations: 3.938 kB / 258.2 MB, free: 2.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.004124, allocations: 4 kB / 258.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.004127, allocations: 0 / 258.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.004143, allocations: 0 / 258.2 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.004147, allocations: 64 / 258.2 MB, free: 2.5 MB / 250.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 7.277e-05/0.00422, allocations: 193.1 kB / 258.4 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.004257, allocations: 101 kB / 258.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.004302, allocations: 115.9 kB / 258.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/0.004348, allocations: 184.1 kB / 258.8 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-05/0.004392, allocations: 184.2 kB / 258.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/0.004437, allocations: 188.1 kB / 259.1 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.004568, allocations: 317.4 kB / 259.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/0.004603, allocations: 103.9 kB / 259.5 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.688e-05/0.00463, allocations: 104.9 kB / 259.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.004663, allocations: 105 kB / 259.7 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.523e-05/0.004708, allocations: 188.2 kB / 259.9 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.004758, allocations: 180.3 kB / 260.1 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-05/0.004801, allocations: 180.3 kB / 260.3 MB, free: 296 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.272e-05/0.004843, allocations: 184.1 kB / 260.5 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.004955, allocations: 311.8 kB / 260.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.005003, allocations: 176.3 kB / 260.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.899e-05/0.005052, allocations: 101 kB / 261 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.0051, allocations: 184.2 kB / 261.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.759e-05/0.005127, allocations: 108.9 kB / 261.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.048e-05/0.005148, allocations: 21.08 kB / 261.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005148, allocations: 4 kB / 261.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001072/0.005255, allocations: 4 kB / 261.3 MB, free: 15.16 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 8.858e-05/0.005344, allocations: 147.7 kB / 261.5 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.642e-05/0.00541, allocations: 16.8 kB / 261.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.005415, allocations: 0 / 261.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.005417, allocations: 0 / 261.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.005666, allocations: 470.3 kB / 262 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001979/0.005864, allocations: 160 kB / 262.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.005895, allocations: 59.53 kB / 262.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.005919, allocations: 0 / 262.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.005963, allocations: 55.31 kB / 262.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005963, allocations: 0 / 262.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Templates: time 0.001707/0.007671, allocations: 207.8 kB / 262.4 MB, free: 14.01 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 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.698073527775705]