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.0006606/0.0006606, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008685/0.001529, allocations: 435.8 kB / 10.33 MB, free: 368 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.9281/0.9281, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1499/1.078, allocations: 53.64 MB / 241.9 MB, free: 2.73 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.001122/0.001122, allocations: 152.7 kB / 242.8 MB, free: 1.871 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002572, allocations: 481.7 kB / 243.2 MB, free: 1.414 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.4391/0.4391, allocations: 89.06 MB / 333 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04336/0.4825, allocations: 30.21 MB / 363.2 MB, free: 3.164 MB / 346.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.02862/0.02862, allocations: 4.782 MB / 368.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003712/0.03234, allocations: 1.926 MB / 370.7 MB, free: 11.88 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.724e-06/1.724e-06, allocations: 0 / 372 MB, free: 10.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.887e-05, allocations: 4.703 kB / 372 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.Gate): time 0.005673/0.005702, allocations: 4.042 MB / 376 MB, free: 6.516 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.009421, allocations: 1.731 MB / 377.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.009895, allocations: 11.94 kB / 377.8 MB, free: 4.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.01131, allocations: 0.8041 MB / 378.6 MB, free: 3.961 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008991/0.01221, allocations: 245.8 kB / 378.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.01298, allocations: 403 kB / 379.2 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007578/0.01374, allocations: 1.057 MB / 380.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004401/0.01418, allocations: 438.9 kB / 380.7 MB, free: 1.816 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.0147, allocations: 0.6459 MB / 381.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.01504, allocations: 374.8 kB / 381.7 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.01514, allocations: 88 kB / 381.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.0153, allocations: 108 kB / 381.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.54e-05/0.0154, allocations: 147.4 kB / 382.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.01559, allocations: 231.5 kB / 382.3 MB, free: 248 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.0161, allocations: 0.5876 MB / 382.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.01611, allocations: 0 / 382.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01611, allocations: 0 / 382.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.01613, allocations: 0 / 382.9 MB, free: 15.65 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.001408/0.01754, allocations: 1.316 MB / 384.2 MB, free: 14.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.01757, allocations: 11.98 kB / 384.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.01803, allocations: 273.9 kB / 384.5 MB, free: 14.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.01837, allocations: 332.1 kB / 384.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.01849, allocations: 242.5 kB / 385 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/0.01856, allocations: 64.38 kB / 385.1 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.01918, allocations: 0.788 MB / 385.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.0192, allocations: 3.938 kB / 385.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.01924, allocations: 32 kB / 385.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01925, allocations: 16 kB / 385.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.01974, allocations: 413.9 kB / 386.3 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.02168, allocations: 1.766 MB / 388.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.02203, allocations: 311.9 kB / 388.4 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.02217, allocations: 138.8 kB / 388.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.02221, allocations: 16.66 kB / 388.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.02223, allocations: 39.22 kB / 388.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 1.933e-06/0.02224, allocations: 0 / 388.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.0005099/0.02275, allocations: 437.8 kB / 389 MB, free: 9.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.02278, allocations: 60.06 kB / 389.1 MB, free: 9.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.02302, allocations: 451 kB / 389.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.02305, allocations: 41.7 kB / 389.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.02318, allocations: 297.9 kB / 389.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.0233, allocations: 281.5 kB / 390.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.02343, allocations: 150.5 kB / 390.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.02353, allocations: 390.5 kB / 390.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.02364, allocations: 89.95 kB / 390.7 MB, free: 7.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.02392, allocations: 0.5104 MB / 391.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.02432, allocations: 0.514 MB / 391.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02432, allocations: 0 / 391.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0004618/0.02478, allocations: 481.4 kB / 392.2 MB, free: 5.719 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.0248, allocations: 8 kB / 392.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02481, allocations: 8.094 kB / 392.3 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.02482, allocations: 15.94 kB / 392.3 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.02549, allocations: 324.7 kB / 392.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.02551, allocations: 15.94 kB / 392.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.02575, allocations: 91.42 kB / 392.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.02578, allocations: 35.97 kB / 392.7 MB, free: 5.234 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.0001381/0.02592, allocations: 161.6 kB / 392.9 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.02599, allocations: 63.94 kB / 392.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.02645, allocations: 453 kB / 393.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02646, allocations: 12 kB / 393.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.02646, allocations: 0 / 393.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.02647, allocations: 7.922 kB / 393.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.02734, allocations: 0.8281 MB / 394.2 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02734, allocations: 4 kB / 394.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.02788, allocations: 272.7 kB / 394.5 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.02793, allocations: 79.27 kB / 394.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.02794, allocations: 4 kB / 394.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.02796, allocations: 20 kB / 394.6 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.02797, allocations: 7.984 kB / 394.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02797, allocations: 0 / 394.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.02836, allocations: 0.4954 MB / 395.1 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.02841, allocations: 24 kB / 395.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.02861, allocations: 31.97 kB / 395.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.02868, allocations: 60.55 kB / 395.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.02871, allocations: 19.98 kB / 395.2 MB, free: 2.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.02883, allocations: 196.4 kB / 395.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02883, allocations: 0 / 395.4 MB, free: 2.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003203/0.02915, allocations: 203.7 kB / 395.6 MB, free: 2.227 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 9.427e-05/0.02925, allocations: 92.3 kB / 395.7 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003973/0.02964, allocations: 409.8 kB / 396.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/0.02966, allocations: 12 kB / 396.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.02985, allocations: 217.7 kB / 396.4 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.03022, allocations: 194.5 kB / 396.5 MB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004975/0.03519, allocations: 1.406 MB / 397.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.03528, allocations: 157.4 kB / 398.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.03554, allocations: 97.11 kB / 398.2 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.03589, allocations: 221.2 kB / 398.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of SimCode: time 9.11e-07/0.03589, allocations: 3.938 kB / 398.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of Templates: time 0.01159/0.04748, allocations: 10.62 MB / 409 MB, free: 4.898 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.2075592326000333]