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.001236/0.001236, allocations: 84.88 kB / 20.8 MB, free: 3.648 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.9328/0.9328, allocations: 177.2 MB / 201.2 MB, free: 5.359 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.00171/0.00171, allocations: 156.6 kB / 257.9 MB, free: 12.78 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.3986/0.3986, allocations: 80.23 MB / 341.4 MB, free: 9.531 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.02025/0.02025, allocations: 4.786 MB / 376.2 MB, free: 7.117 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.453e-06/1.453e-06, allocations: 0 / 396 MB, free: 3.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.721e-05, allocations: 2.312 kB / 396 MB, free: 3.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.004874/0.004891, allocations: 4.022 MB / 400 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.00788, allocations: 1.73 MB / 401.7 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.008126, allocations: 7.938 kB / 401.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.009361, allocations: 0.7964 MB / 402.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.009836, allocations: 249.8 kB / 402.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.0106, allocations: 410.9 kB / 403.2 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.01161, allocations: 1.068 MB / 404.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006501/0.01226, allocations: 0.4946 MB / 404.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006315/0.01289, allocations: 0.569 MB / 405.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.01339, allocations: 374.8 kB / 405.7 MB, free: 9.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.01353, allocations: 88 kB / 405.8 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.01373, allocations: 104 kB / 405.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.01388, allocations: 211.1 kB / 406.1 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.01416, allocations: 307.1 kB / 406.4 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.01489, allocations: 0.6772 MB / 407 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.0149, allocations: 0 / 407 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.0149, allocations: 4 kB / 407 MB, free: 8.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.01491, allocations: 3.938 kB / 407 MB, free: 8.219 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.001925/0.01683, allocations: 1.138 MB / 408.2 MB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.01687, allocations: 8.031 kB / 408.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006959/0.01756, allocations: 196.8 kB / 408.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.01806, allocations: 336 kB / 408.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.01822, allocations: 242.5 kB / 408.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.01832, allocations: 68.38 kB / 409 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/0.01925, allocations: 0.7919 MB / 409.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.01926, allocations: 3.938 kB / 409.8 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.01932, allocations: 28 kB / 409.8 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.01934, allocations: 16 kB / 409.9 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007595/0.0201, allocations: 409.9 kB / 410.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.02298, allocations: 1.766 MB / 412 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.02347, allocations: 306.2 kB / 412.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.02369, allocations: 134.8 kB / 412.4 MB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.02373, allocations: 16.66 kB / 412.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.02376, allocations: 51.14 kB / 412.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.104e-06/0.02376, allocations: 0 / 412.5 MB, free: 2.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.0006443/0.02441, allocations: 421.8 kB / 412.9 MB, free: 2.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.02447, allocations: 222.3 kB / 413.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.02475, allocations: 447 kB / 413.6 MB, free: 1.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.02479, allocations: 37.7 kB / 413.6 MB, free: 1.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.02496, allocations: 305.8 kB / 413.9 MB, free: 1.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.02514, allocations: 277.6 kB / 414.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.02532, allocations: 154.5 kB / 414.3 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.02545, allocations: 390.5 kB / 414.7 MB, free: 212 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.02562, allocations: 89.95 kB / 414.8 MB, free: 120 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.02603, allocations: 0.5062 MB / 415.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005979/0.02663, allocations: 0.5101 MB / 415.8 MB, free: 14.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02664, allocations: 4 kB / 415.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0006873/0.02732, allocations: 481 kB / 416.3 MB, free: 14.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.02734, allocations: 8 kB / 416.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02734, allocations: 4 kB / 416.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.02736, allocations: 12 kB / 416.3 MB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009404/0.0283, allocations: 311.1 kB / 416.6 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.02832, allocations: 15.94 kB / 416.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.02872, allocations: 91.39 kB / 416.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.02877, allocations: 31.97 kB / 416.8 MB, free: 13.91 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.0001633/0.02893, allocations: 157.6 kB / 416.9 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.02904, allocations: 71.88 kB / 417 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.02972, allocations: 449 kB / 417.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02973, allocations: 8 kB / 417.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.02973, allocations: 4 kB / 417.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.02974, allocations: 11.91 kB / 417.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.0307, allocations: 0.8437 MB / 418.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.0307, allocations: 0 / 418.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.03124, allocations: 250.3 kB / 418.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.03124, allocations: 7.938 kB / 418.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.03127, allocations: 12.12 kB / 418.6 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.03127, allocations: 8 kB / 418.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.03127, allocations: 4 kB / 418.6 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.03166, allocations: 0.4955 MB / 419.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.03171, allocations: 83.27 kB / 419.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.03175, allocations: 12 kB / 419.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.03195, allocations: 35.97 kB / 419.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.03202, allocations: 60.55 kB / 419.2 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.03204, allocations: 15.98 kB / 419.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.03216, allocations: 204.4 kB / 419.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03216, allocations: 0 / 419.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.03247, allocations: 203.7 kB / 419.7 MB, free: 10.92 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 7.981e-05/0.03255, allocations: 100.2 kB / 419.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003732/0.03292, allocations: 401.5 kB / 420.2 MB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.03293, allocations: 13.25 kB / 420.2 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.03312, allocations: 209.7 kB / 420.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.03343, allocations: 150.8 kB / 420.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.0349, allocations: 1.328 MB / 421.8 MB, free: 8.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.234e-05/0.03498, allocations: 149.4 kB / 422 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002375/0.03522, allocations: 97.11 kB / 422.1 MB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.03555, allocations: 221.2 kB / 422.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03555, allocations: 0 / 422.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of Templates: time 0.01121/0.04676, allocations: 10.16 MB / 432.5 MB, free: 14.13 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.3318822979927063]