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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 245.5 MB, free: 14.17 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 193.5 kB / 300.5 MB, free: 9.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04234/0.04234, allocations: 8.923 MB / 364.3 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002357/0.002357, allocations: 83.66 kB / 487.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08489, allocations: 54.41 MB / 0.5289 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002339/0.08723, allocations: 1.265 MB / 0.5302 GB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 4.982e-05/0.08728, allocations: 7.922 kB / 0.5302 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.08731, allocations: 4 kB / 0.5302 GB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.08734, allocations: 4 kB / 0.5302 GB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/0.0874, allocations: 3.938 kB / 0.5302 GB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.537e-05/0.08742, allocations: 4 kB / 0.5302 GB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.08747, allocations: 4 kB / 0.5302 GB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.08754, allocations: 3.984 kB / 0.5302 GB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.08756, allocations: 3.938 kB / 0.5302 GB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.295e-05/0.08759, allocations: 4 kB / 0.5302 GB, free: 15.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.0876, allocations: 0 / 0.5302 GB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-06/0.08761, allocations: 3.938 kB / 0.5302 GB, free: 15.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.08762, allocations: 8 kB / 0.5302 GB, free: 15.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.08764, allocations: 11.88 kB / 0.5302 GB, free: 15.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.909e-05/0.08769, allocations: 7.922 kB / 0.5302 GB, free: 15.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.0877, allocations: 0 / 0.5302 GB, free: 15.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0877, allocations: 0 / 0.5302 GB, free: 15.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.0877, allocations: 4 kB / 0.5302 GB, free: 15.5 MB / 350.1 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.0003876/0.08809, allocations: 323.4 kB / 0.5305 GB, free: 15.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.08812, allocations: 8.031 kB / 0.5305 GB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.08814, allocations: 4.938 kB / 0.5306 GB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.0883, allocations: 168.4 kB / 0.5307 GB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.08831, allocations: 4.375 kB / 0.5307 GB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.08832, allocations: 384 / 0.5307 GB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.0884, allocations: 43.98 kB / 0.5308 GB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.08841, allocations: 192 / 0.5308 GB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.08841, allocations: 3.938 kB / 0.5308 GB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.08842, allocations: 11.92 kB / 0.5308 GB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.339e-05/0.08843, allocations: 0 / 0.5308 GB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.08881, allocations: 479.7 kB / 0.5312 GB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.08891, allocations: 173 kB / 0.5314 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.08895, allocations: 80.14 kB / 0.5315 GB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.08898, allocations: 75.28 kB / 0.5315 GB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.08904, allocations: 109.8 kB / 0.5316 GB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.08904, allocations: 0 / 0.5316 GB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.957e-05/0.08911, allocations: 29.83 kB / 0.5317 GB, free: 13.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.08918, allocations: 130.7 kB / 0.5318 GB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.08928, allocations: 109.8 kB / 0.5319 GB, free: 13.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.0893, allocations: 25.7 kB / 0.5319 GB, free: 13.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.08935, allocations: 84.09 kB / 0.532 GB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.08936, allocations: 4 kB / 0.532 GB, free: 13.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.08939, allocations: 17.72 kB / 0.532 GB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.08952, allocations: 318.8 kB / 0.5323 GB, free: 13.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-06/0.08953, allocations: 0 / 0.5323 GB, free: 13.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.08955, allocations: 13.72 kB / 0.5324 GB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.08959, allocations: 22.03 kB / 0.5324 GB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.08959, allocations: 3.938 kB / 0.5324 GB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001013/0.08969, allocations: 41.64 kB / 0.5324 GB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.0897, allocations: 11.98 kB / 0.5324 GB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.08971, allocations: 0 / 0.5324 GB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.08972, allocations: 0 / 0.5324 GB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.99e-05/0.08976, allocations: 4 kB / 0.5324 GB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.08976, allocations: 0 / 0.5324 GB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.08978, allocations: 3.938 kB / 0.5324 GB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.08979, allocations: 64 / 0.5324 GB, free: 12.99 MB / 350.1 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.0001033/0.08989, allocations: 204.9 kB / 0.5326 GB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.08996, allocations: 108.9 kB / 0.5327 GB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.09002, allocations: 112.1 kB / 0.5328 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-05/0.0901, allocations: 180.2 kB / 0.533 GB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.729e-05/0.09018, allocations: 180.3 kB / 0.5332 GB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/0.09025, allocations: 180.3 kB / 0.5334 GB, free: 12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.09052, allocations: 409.1 kB / 0.5337 GB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/0.09056, allocations: 101 kB / 0.5338 GB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.09061, allocations: 108.9 kB / 0.5339 GB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-05/0.09068, allocations: 180.3 kB / 0.5341 GB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.09076, allocations: 184.2 kB / 0.5343 GB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.117e-05/0.09084, allocations: 180.2 kB / 0.5345 GB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.768e-05/0.09092, allocations: 180.3 kB / 0.5346 GB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.09107, allocations: 308.6 kB / 0.5349 GB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.09117, allocations: 190 kB / 0.5351 GB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.09125, allocations: 180.3 kB / 0.5353 GB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.09134, allocations: 101 kB / 0.5354 GB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.014e-05/0.09143, allocations: 188.2 kB / 0.5356 GB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.09148, allocations: 105 kB / 0.5357 GB, free: 9.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.09153, allocations: 79.28 kB / 0.5357 GB, free: 9.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09153, allocations: 0 / 0.5357 GB, free: 9.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000213/0.09175, allocations: 4 kB / 0.5357 GB, free: 9.375 MB / 350.1 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.0001034/0.09185, allocations: 170.5 kB / 0.5359 GB, free: 9.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.311e-05/0.09191, allocations: 12.28 kB / 0.5359 GB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.09191, allocations: 0 / 0.5359 GB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.09191, allocations: 0 / 0.5359 GB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.09231, allocations: 459.8 kB / 0.5364 GB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.09253, allocations: 186 kB / 0.5365 GB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.09284, allocations: 0.6766 MB / 0.5372 GB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.09286, allocations: 7.438 kB / 0.5372 GB, free: 7.805 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.09286, allocations: 0 / 0.5372 GB, free: 7.805 MB / 350.1 MB Notification: Performance of Templates: time 0.001647/0.0945, allocations: 416 kB / 0.5376 GB, free: 7.398 MB / 350.1 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: 6.35772671806626] Failed to read output from testmodel.py, exit status != 0: 0.23745539411902428 0.11527443400000001 0.02486356 Calling exit ...