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.00115/0.00115, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002655, allocations: 435.8 kB / 10.33 MB, free: 368 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 0.9593/0.9593, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1714/1.131, allocations: 53.65 MB / 241.9 MB, free: 2.738 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.0007723/0.0007723, allocations: 148 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001813, allocations: 479 kB / 243.2 MB, free: 1.422 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.02531/0.02531, allocations: 6.651 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00536/0.03067, allocations: 2.666 MB / 253.3 MB, free: 7.566 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.593e-06/1.593e-06, allocations: 0 / 254.5 MB, free: 6.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.588e-05, allocations: 4.703 kB / 254.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002534/0.00256, allocations: 1.368 MB / 255.9 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 3.152e-05/0.002591, allocations: 7.938 kB / 255.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.002614, allocations: 0 / 255.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.002641, allocations: 0 / 255.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.002673, allocations: 3.938 kB / 255.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.358e-05/0.002687, allocations: 4 kB / 255.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.00274, allocations: 7.938 kB / 255.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.0028, allocations: 7.984 kB / 255.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.002855, allocations: 11.98 kB / 255.9 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.002898, allocations: 3.938 kB / 256 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.002915, allocations: 0 / 256 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-06/0.00292, allocations: 0 / 256 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.002932, allocations: 0 / 256 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.002952, allocations: 4 kB / 256 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.49e-05/0.003017, allocations: 7.938 kB / 256 MB, free: 4.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.947e-05/0.003036, allocations: 7.984 kB / 256 MB, free: 4.875 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.003037, allocations: 0 / 256 MB, free: 4.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.003054, allocations: 0 / 256 MB, free: 4.875 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.0003212/0.003376, allocations: 212.7 kB / 256.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00341, allocations: 8.031 kB / 256.2 MB, free: 4.633 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.003431, allocations: 12.92 kB / 256.2 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/0.003524, allocations: 109.7 kB / 256.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.003534, allocations: 4.375 kB / 256.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-06/0.003539, allocations: 384 / 256.3 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.055e-05/0.00361, allocations: 43.92 kB / 256.4 MB, free: 4.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.003617, allocations: 4.188 kB / 256.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.003623, allocations: 384 / 256.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.003628, allocations: 384 / 256.4 MB, free: 4.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.003642, allocations: 11.92 kB / 256.4 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.003883, allocations: 375.1 kB / 256.7 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.003964, allocations: 169.1 kB / 256.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.003992, allocations: 80.14 kB / 257 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.004015, allocations: 75.28 kB / 257.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/0.004065, allocations: 109.8 kB / 257.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.004066, allocations: 0 / 257.2 MB, free: 3.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 5.431e-05/0.00412, allocations: 37.61 kB / 257.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.004181, allocations: 138.7 kB / 257.3 MB, free: 3.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.004254, allocations: 106.9 kB / 257.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.004263, allocations: 25.7 kB / 257.5 MB, free: 3.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.004309, allocations: 92.03 kB / 257.6 MB, free: 3.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.004316, allocations: 0 / 257.6 MB, free: 3.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.004344, allocations: 17.7 kB / 257.6 MB, free: 3.121 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.004432, allocations: 314.8 kB / 257.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-06/0.004437, allocations: 0 / 257.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.004453, allocations: 17.78 kB / 257.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.004484, allocations: 21.72 kB / 257.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.004486, allocations: 0 / 257.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.769e-05/0.004554, allocations: 41.69 kB / 258 MB, free: 2.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.004567, allocations: 4 kB / 258 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004572, allocations: 0 / 258 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.004581, allocations: 7.875 kB / 258 MB, free: 2.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.131e-05/0.004613, allocations: 4 kB / 258 MB, free: 2.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.004616, allocations: 7.938 kB / 258 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.004633, allocations: 0 / 258 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004637, allocations: 4.062 kB / 258 MB, free: 2.68 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.543e-05/0.004712, allocations: 189.1 kB / 258.2 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.004763, allocations: 101 kB / 258.3 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.004806, allocations: 111.9 kB / 258.4 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.316e-05/0.004859, allocations: 184.2 kB / 258.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/0.004911, allocations: 176.3 kB / 258.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-05/0.004968, allocations: 188.2 kB / 258.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.005152, allocations: 317.4 kB / 259.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.876e-05/0.005191, allocations: 111.8 kB / 259.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.00523, allocations: 101 kB / 259.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.005277, allocations: 109 kB / 259.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-05/0.00535, allocations: 184.2 kB / 259.7 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.005418, allocations: 176.3 kB / 259.9 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-05/0.005481, allocations: 184.2 kB / 260.1 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.556e-05/0.005547, allocations: 184.2 kB / 260.2 MB, free: 300 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.005717, allocations: 307.8 kB / 260.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.005789, allocations: 180.3 kB / 260.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.005867, allocations: 104.9 kB / 260.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.005934, allocations: 180.2 kB / 261 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.005978, allocations: 108.9 kB / 261.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.247e-05/0.006, allocations: 20.8 kB / 261.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006001, allocations: 4 kB / 261.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.006188, allocations: 0 / 261.1 MB, free: 15.35 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 0.00011/0.006298, allocations: 147.7 kB / 261.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.47e-05/0.006353, allocations: 12.84 kB / 261.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.455e-06/0.00636, allocations: 7.984 kB / 261.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.006362, allocations: 4 kB / 261.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.006649, allocations: 455.7 kB / 261.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.006847, allocations: 171.9 kB / 261.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.00689, allocations: 59.47 kB / 262 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.393e-05/0.006914, allocations: 0 / 262 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.006948, allocations: 55.31 kB / 262 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.006949, allocations: 0 / 262 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.001623/0.008573, allocations: 233.4 kB / 262.3 MB, free: 14.17 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.506675439886749]