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.0008937/0.0008937, allocations: 80.94 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 0.9156/0.9156, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001145/0.001145, allocations: 152.6 kB / 257 MB, free: 12.82 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.4149/0.4149, allocations: 80.23 MB / 340.5 MB, free: 9.559 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.02095/0.02095, allocations: 4.797 MB / 375.3 MB, free: 7.137 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.123e-06/1.123e-06, allocations: 0 / 394.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.44e-05, allocations: 2.312 kB / 394.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.003414/0.003428, allocations: 3.979 MB / 398.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.006107, allocations: 1.73 MB / 400.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.00633, allocations: 15.94 kB / 400.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.0072, allocations: 0.7925 MB / 401.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.007524, allocations: 249.8 kB / 401.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.008124, allocations: 406.9 kB / 402.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.008761, allocations: 1.076 MB / 403.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.009186, allocations: 486.5 kB / 403.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.009621, allocations: 0.569 MB / 404.2 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.009953, allocations: 378.8 kB / 404.6 MB, free: 9.797 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-05/0.01004, allocations: 92 kB / 404.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.01016, allocations: 104 kB / 404.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.01027, allocations: 211.1 kB / 405 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.01045, allocations: 303.1 kB / 405.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.01094, allocations: 0.6772 MB / 406 MB, free: 8.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.01094, allocations: 3.938 kB / 406 MB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01094, allocations: 4 kB / 406 MB, free: 8.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01095, allocations: 0 / 406 MB, free: 8.414 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.00154/0.01249, allocations: 1.138 MB / 407.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.01251, allocations: 8.031 kB / 407.1 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.01295, allocations: 200.8 kB / 407.3 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.01329, allocations: 332 kB / 407.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.01341, allocations: 242.5 kB / 407.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.01348, allocations: 72.38 kB / 407.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.01409, allocations: 0.7841 MB / 408.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.0141, allocations: 3.938 kB / 408.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.01415, allocations: 28 kB / 408.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.01416, allocations: 23.98 kB / 408.8 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.01466, allocations: 413.9 kB / 409.2 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.01662, allocations: 1.758 MB / 410.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.01697, allocations: 299.4 kB / 411.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.01711, allocations: 142.8 kB / 411.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.01715, allocations: 12.66 kB / 411.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.01717, allocations: 47.16 kB / 411.4 MB, free: 2.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 1.894e-06/0.01718, allocations: 4 kB / 411.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.000509/0.01769, allocations: 425.8 kB / 411.9 MB, free: 2.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.01775, allocations: 214.3 kB / 412.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.01799, allocations: 451 kB / 412.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.01803, allocations: 37.7 kB / 412.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01815, allocations: 309.8 kB / 412.8 MB, free: 1.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.01826, allocations: 269.6 kB / 413.1 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.0184, allocations: 154.5 kB / 413.3 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003489/0.01875, allocations: 390.5 kB / 413.6 MB, free: 416 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.01887, allocations: 93.94 kB / 413.7 MB, free: 320 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.01914, allocations: 0.5101 MB / 414.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.01954, allocations: 0.5101 MB / 414.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.01955, allocations: 0 / 414.8 MB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0004581/0.02001, allocations: 481.3 kB / 415.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02002, allocations: 12.16 kB / 415.2 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.02003, allocations: 8 kB / 415.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.02004, allocations: 12 kB / 415.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.02051, allocations: 227.7 kB / 415.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.02052, allocations: 19.92 kB / 415.5 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.02076, allocations: 83.45 kB / 415.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.02079, allocations: 39.91 kB / 415.6 MB, free: 14.18 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.000133/0.02092, allocations: 157.6 kB / 415.8 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.021, allocations: 71.94 kB / 415.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.02144, allocations: 453.1 kB / 416.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.02144, allocations: 8 kB / 416.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02144, allocations: 0 / 416.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.02145, allocations: 3.984 kB / 416.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.02233, allocations: 0.8475 MB / 417.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02233, allocations: 0 / 417.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.02273, allocations: 179.8 kB / 417.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.02273, allocations: 7.938 kB / 417.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.02276, allocations: 19.98 kB / 417.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.02276, allocations: 7.938 kB / 417.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.02276, allocations: 192 / 417.4 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.02315, allocations: 0.4955 MB / 417.9 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.02321, allocations: 83.31 kB / 417.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.02326, allocations: 16 kB / 417.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.02345, allocations: 31.92 kB / 418 MB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.02353, allocations: 60.55 kB / 418 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.02355, allocations: 19.98 kB / 418.1 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.02367, allocations: 196.4 kB / 418.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02367, allocations: 0 / 418.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003233/0.024, allocations: 203.7 kB / 418.4 MB, free: 11.25 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.0001047/0.0241, allocations: 108.2 kB / 418.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.02451, allocations: 393.8 kB / 418.9 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.02452, allocations: 13.38 kB / 419 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.02472, allocations: 217.7 kB / 419.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.02506, allocations: 138.5 kB / 419.3 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.02687, allocations: 1.327 MB / 420.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.467e-05/0.02695, allocations: 149.4 kB / 420.8 MB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.02719, allocations: 101.1 kB / 420.9 MB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.02754, allocations: 217.2 kB / 421.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02754, allocations: 0 / 421.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of Templates: time 0.01088/0.03842, allocations: 10.08 MB / 431.2 MB, free: 14.56 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 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.Gate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2813118998892605]