Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.Gate.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.0008951/0.0008951, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.021/1.021, allocations: 177.2 MB / 200.3 MB, free: 5.676 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.001284/0.001284, allocations: 152.6 kB / 257 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4243/0.4243, allocations: 80.24 MB / 340.5 MB, free: 9.617 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.02171/0.02171, allocations: 4.79 MB / 375.3 MB, free: 7.125 MB / 346.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") translateModel(OpenHPL.Examples.Gate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.Gate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 395 MB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.373e-05, allocations: 2.312 kB / 395 MB, free: 3.465 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.004179/0.004203, allocations: 4.041 MB / 399 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.007036, allocations: 1.73 MB / 400.7 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.007384, allocations: 7.938 kB / 400.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.008504, allocations: 0.7924 MB / 401.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.008973, allocations: 253.8 kB / 401.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.00979, allocations: 403 kB / 402.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.01093, allocations: 1.072 MB / 403.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00071/0.01164, allocations: 498.5 kB / 403.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006718/0.01231, allocations: 0.5651 MB / 404.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004864/0.0128, allocations: 378.9 kB / 404.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.01292, allocations: 84 kB / 404.8 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.01311, allocations: 96 kB / 404.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.01323, allocations: 223.1 kB / 405.1 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.01375, allocations: 299.1 kB / 405.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.01442, allocations: 0.6849 MB / 406.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01443, allocations: 0 / 406.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01443, allocations: 0 / 406.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.01444, allocations: 8 kB / 406.1 MB, free: 8.309 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 172 * Number of variables: 172 Notification: Performance of Generate backend data structure: time 0.001611/0.01605, allocations: 1.131 MB / 407.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.01609, allocations: 8.031 kB / 407.2 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005147/0.0166, allocations: 196.8 kB / 407.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.017, allocations: 336 kB / 407.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.01713, allocations: 242.5 kB / 408 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.0172, allocations: 68.38 kB / 408 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.01792, allocations: 0.7919 MB / 408.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.01793, allocations: 0 / 408.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.01798, allocations: 32 kB / 408.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.01799, allocations: 16 kB / 408.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.01854, allocations: 409.9 kB / 409.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.02076, allocations: 1.766 MB / 411 MB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.02115, allocations: 303.5 kB / 411.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.0213, allocations: 138.7 kB / 411.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.02134, allocations: 16.66 kB / 411.5 MB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.02136, allocations: 39.22 kB / 411.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.224e-06/0.02136, allocations: 0 / 411.5 MB, free: 2.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.0005589/0.02192, allocations: 433.8 kB / 411.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.022, allocations: 214.3 kB / 412.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.02252, allocations: 447 kB / 412.6 MB, free: 1.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.02256, allocations: 37.7 kB / 412.6 MB, free: 1.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.02269, allocations: 313.8 kB / 412.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.02281, allocations: 273.5 kB / 413.2 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.02295, allocations: 150.5 kB / 413.3 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.02305, allocations: 390.5 kB / 413.7 MB, free: 316 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.02318, allocations: 93.89 kB / 413.8 MB, free: 220 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.02349, allocations: 0.514 MB / 414.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.02393, allocations: 0.5025 MB / 414.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.02393, allocations: 0 / 414.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0005246/0.02446, allocations: 489.1 kB / 415.3 MB, free: 14.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.02447, allocations: 8 kB / 415.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.02448, allocations: 8 kB / 415.3 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.0245, allocations: 11.94 kB / 415.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.02518, allocations: 311 kB / 415.6 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.0252, allocations: 12 kB / 415.7 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.02548, allocations: 87.39 kB / 415.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/0.02552, allocations: 31.98 kB / 415.8 MB, free: 14.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 102 * 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.0001516/0.02567, allocations: 169.5 kB / 415.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.02575, allocations: 67.94 kB / 416 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.02623, allocations: 445.1 kB / 416.4 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.02624, allocations: 8 kB / 416.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.02624, allocations: 0 / 416.4 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.02625, allocations: 7.922 kB / 416.5 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.02726, allocations: 0.8397 MB / 417.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.02726, allocations: 8.172 kB / 417.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.02784, allocations: 241.9 kB / 417.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.02784, allocations: 7.938 kB / 417.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.02787, allocations: 23.98 kB / 417.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.02788, allocations: 4 kB / 417.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02788, allocations: 4 kB / 417.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.02834, allocations: 0.4955 MB / 418.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.02841, allocations: 79.28 kB / 418.1 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.596e-05/0.02846, allocations: 20 kB / 418.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.02867, allocations: 27.98 kB / 418.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.02877, allocations: 64.53 kB / 418.3 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.02879, allocations: 23.98 kB / 418.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.02896, allocations: 200.3 kB / 418.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.02896, allocations: 0 / 418.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.0294, allocations: 203.7 kB / 418.7 MB, free: 11.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0001138/0.02952, allocations: 96.3 kB / 418.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.03, allocations: 401.7 kB / 419.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/0.03002, allocations: 17.38 kB / 419.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005487/0.03057, allocations: 217.7 kB / 419.4 MB, free: 10.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.03097, allocations: 133.9 kB / 419.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.03281, allocations: 1.332 MB / 420.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.03291, allocations: 157.4 kB / 421 MB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.03319, allocations: 89.12 kB / 421.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/0.03357, allocations: 217.2 kB / 421.3 MB, free: 8.293 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.03358, allocations: 3.938 kB / 421.3 MB, free: 8.289 MB / 394.7 MB Notification: Performance of Templates: time 0.01245/0.04602, allocations: 10.17 MB / 431.5 MB, free: 14.22 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenHPL_OpenHPL.Examples.Gate.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.Gate.pipe ; mkfifo OpenHPL_OpenHPL.Examples.Gate.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.Gate.pipe >> ../files/OpenHPL_OpenHPL.Examples.Gate.sim & ./OpenHPL_OpenHPL.Examples.Gate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5120655479840934]