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.0007448/0.0007448, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000955/0.0017, allocations: 440 kB / 10.41 MB, free: 284 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.9266/0.9266, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1752/1.102, allocations: 53.64 MB / 242 MB, free: 2.621 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.001397/0.001397, allocations: 153.4 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00167/0.003066, allocations: 480.3 kB / 243.4 MB, free: 1.285 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.4649/0.4649, allocations: 89.18 MB / 333.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04688/0.5118, allocations: 30.22 MB / 363.5 MB, free: 3.059 MB / 346.7 MB " [Timeout remaining time 179] 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.02003/0.02003, allocations: 4.796 MB / 369.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0027/0.02273, allocations: 1.928 MB / 371 MB, free: 11.77 MB / 362.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.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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.673e-06/1.673e-06, allocations: 1.094 kB / 372.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.873e-05, allocations: 10.25 kB / 372.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.004878/0.004896, allocations: 4.056 MB / 376.4 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.008256, allocations: 1.746 MB / 378.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.008521, allocations: 11.94 kB / 378.2 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.009846, allocations: 0.7847 MB / 378.9 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000522/0.01037, allocations: 249.8 kB / 379.2 MB, free: 3.598 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.01112, allocations: 406.9 kB / 379.6 MB, free: 3.199 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.0119, allocations: 1.057 MB / 380.6 MB, free: 2.141 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.0123, allocations: 438.8 kB / 381.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004781/0.01278, allocations: 0.6459 MB / 381.7 MB, free: 1.047 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003379/0.01311, allocations: 378.8 kB / 382.1 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.0132, allocations: 88 kB / 382.2 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.01334, allocations: 100 kB / 382.3 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.01343, allocations: 143.5 kB / 382.4 MB, free: 360 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.01359, allocations: 231.5 kB / 382.6 MB, free: 128 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.01404, allocations: 0.5954 MB / 383.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.01405, allocations: 0 / 383.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.01405, allocations: 0 / 383.2 MB, free: 15.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.01406, allocations: 0 / 383.2 MB, free: 15.53 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.001575/0.01564, allocations: 1.312 MB / 384.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.538e-05/0.01566, allocations: 8.031 kB / 384.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.01612, allocations: 277.9 kB / 384.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.01645, allocations: 328.1 kB / 385.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.01656, allocations: 242.5 kB / 385.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.01663, allocations: 64.38 kB / 385.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.01723, allocations: 0.788 MB / 386.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01725, allocations: 3.938 kB / 386.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.01729, allocations: 36 kB / 386.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.0173, allocations: 16 kB / 386.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.01776, allocations: 413.9 kB / 386.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.01963, allocations: 1.758 MB / 388.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.01998, allocations: 319.2 kB / 388.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.02012, allocations: 138.8 kB / 388.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.02015, allocations: 20.66 kB / 388.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.02017, allocations: 39.22 kB / 389 MB, free: 9.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 1.573e-06/0.02018, allocations: 0 / 389 MB, free: 9.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.0004968/0.02067, allocations: 433.8 kB / 389.4 MB, free: 9.113 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.0207, allocations: 60.06 kB / 389.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.02095, allocations: 451 kB / 389.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.02099, allocations: 41.7 kB / 389.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.02111, allocations: 293.9 kB / 390.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.02123, allocations: 285.5 kB / 390.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.02136, allocations: 146.5 kB / 390.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003469/0.02171, allocations: 394.5 kB / 391 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.02182, allocations: 89.95 kB / 391.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.02208, allocations: 0.5104 MB / 391.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.02247, allocations: 0.5257 MB / 392.1 MB, free: 6.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.02247, allocations: 4 kB / 392.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0004507/0.02293, allocations: 481.3 kB / 392.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.02294, allocations: 8 kB / 392.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02295, allocations: 8 kB / 392.6 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.02296, allocations: 12 kB / 392.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.02362, allocations: 325.1 kB / 393 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.02363, allocations: 19.92 kB / 393 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.02387, allocations: 83.44 kB / 393.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.0239, allocations: 31.98 kB / 393.1 MB, free: 5.113 MB / 378.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.000134/0.02404, allocations: 161.6 kB / 393.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.02411, allocations: 63.94 kB / 393.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.02456, allocations: 449 kB / 393.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.02456, allocations: 11.98 kB / 393.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.02457, allocations: 64 / 393.8 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.02457, allocations: 11.92 kB / 393.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.02542, allocations: 0.8359 MB / 394.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.02542, allocations: 4 kB / 394.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.02595, allocations: 270 kB / 394.9 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.026, allocations: 79.28 kB / 394.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.026, allocations: 4 kB / 395 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.02603, allocations: 19.98 kB / 395 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.02603, allocations: 7.984 kB / 395 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.02603, allocations: 8 kB / 395 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.02641, allocations: 0.4955 MB / 395.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.02646, allocations: 23.98 kB / 395.5 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.02665, allocations: 23.98 kB / 395.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.02673, allocations: 60.55 kB / 395.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.02675, allocations: 23.98 kB / 395.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.02688, allocations: 196.4 kB / 395.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02688, allocations: 0 / 395.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.02719, allocations: 199.7 kB / 396 MB, free: 2.098 MB / 378.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 8.883e-05/0.02728, allocations: 100.3 kB / 396.1 MB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.02767, allocations: 419 kB / 396.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/0.02769, allocations: 12.38 kB / 396.5 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.02793, allocations: 267 kB / 396.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.02875, allocations: 0.9484 MB / 397.7 MB, free: 196 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.03354, allocations: 1.405 MB / 399.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.92e-05/0.03362, allocations: 149.4 kB / 399.3 MB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.03386, allocations: 101.2 kB / 399.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.03422, allocations: 221.2 kB / 399.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03422, allocations: 0 / 399.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of Templates: time 0.01111/0.04534, allocations: 10.37 MB / 410 MB, free: 4.035 MB / 394.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.2239561835303903]